Closed chadsr closed 2 years ago
I haven't run into this myself, but I saw in a fork that someone else made that they had made the rule key optional:
https://github.com/solarmonkey/action-pyright/commit/ccf5d122dec7f83f27e1c78e803f49e40dab553d
I'll cherry-pick that commit over here for you a bit later, unless you or @solarmonkey want to make a PR here before I get to it :)
I haven't run into this myself, but I saw in a fork that someone else made that they had made the rule key optional:
I'll cherry-pick that commit over here for you a bit later, unless you or @solarmonkey want to make a PR here before I get to it :)
Ah, great! Since there was no response from @solarmonkey yet, then i'm happy to just PR the one-liner without the need to cherry pick. (Unless you'd prefer to do it that way)
Also for reference: https://github.com/microsoft/pyright/issues/2634
Hi, I was hoping to test out this action, but there seems to be an issue in
pyright_to_rdjson.py
regarding a KeyError. I'm guessing the output format frompyright
has changed slightly?I may find the time in the next week or so to look into it, but if you already know how to solve it, some help/input would be appreciated!
Example stacktrace: