Allow pylsp and pyrefly to work with this repository#2955
Conversation
| [tool.pyrefly] | ||
| python-version = "3.8.0" | ||
| site-package-path = ["./stubs"] | ||
| infer-with-first-use = false | ||
|
|
||
| [tool.pyrefly.errors] | ||
| bad-override = "ignore" | ||
| missing-source = "ignore" |
There was a problem hiding this comment.
I would be fine with introducing those as a means of evaluating different type checkers (there is also ty). I'm not super confident that pyright has a bright future.
There was a problem hiding this comment.
That said, please adapt the configuration so that there is not a ton of errors when running pyrefly check. Ignoring errors in tests and third_party would be a start.
There was a problem hiding this comment.
This is just to remove some initial friction when browsing the repository with a pyrefly config enabled. But I could add some disabled checks. I actually haven’t ran pyrefly in lint mode from the CLI for this. Nor do I think we should engage further in adding this to CI.
✅ Deploy Preview for sublime-lsp ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
This adds a few lines of configuration so that: