You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bugSomething isn't workingdocsImprovements or additions to documentationenhancementImprovement planned or wanted by the maintainershackathonFor our in-person hackathons with maintainers present, not a general up-for-grabs listkarmaKarma issues: potentially annoying but very important issues
In #955 we introduced ruff for formatting and linting (replacing black, isort, flake8 etc).
In the pre-commit hook, ruff lint . is currently commented out because it causes hundreds of errors / violations of the linting rules.
The PR fixing this issue would run ruff lint . locally and fix all of these errors, ideally in separate commits for each type of problems. The most prominent problems are
E501 Line too long (>88)
B008 Do not perform function in argument defaults
B006 Do not use mutable data structures for argument defaults
UP006, UP007 wrong type annotations, e.g., Tuple instead of tuple.
Most of them are easy to fix because ruff gives explicit hints.
This is an annoying thing to fix. The contributor fixing this will be honored publicly 🏅
bugSomething isn't workingdocsImprovements or additions to documentationenhancementImprovement planned or wanted by the maintainershackathonFor our in-person hackathons with maintainers present, not a general up-for-grabs listkarmaKarma issues: potentially annoying but very important issues
Activity
fix #959: all ruff check fixed, add to pre-commit
fix #959: all ruff check fixed, add to pre-commit
fix #959: all ruff check fixed, add to pre-commit