New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pre-commit: Add codespell and other checks #263
Conversation
|
what do you mean by tests here? i don't see anything i understand to be test? |
e7441c0
to
6262d6c
Compare
Thank you for this second commit. I have recently merged #245, which implements a few of these already. Would you mind please merging those changes in and resolving conflicts in .pre-commit-config.yaml?
It may make sense to revert all changes and re-apply pre-config to ensure we are not introducing any unnecessary changes due to the merge.
Thanks!
|
Re-re-re-based. |
|
Thanks for merging! Flake8's ability to find undefined names is a superpower for finding bugs. I am a bit worried about constantly having to add entries to the I have experience on other projects that these names that appear from nowhere confuse both humans and linters, type checkers, etc. I know there will be more of these and it is difficult to put the genie back in the bottle... Would it be possible to adopt a more Pythonic syntax like: to reduce confusion for both developers and their tools? These classes, functions, and variables will only be available in pyscript environments so it would be a good idea to link them back to |
@jezdez @mattkram As discussed at #201 (comment)