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
Add pre-commit hooks for ruff to help new contributors make good changes
pre-commit can be controversial, as some feel it slows down development time. I've found as a code base grows, having a flake8 pre-commit hook can feel sluggish, but switching to ruff I've never found it take even a noticeable amount of time unless of course there are changes to be made. Let me know your thoughts here.
Adding a sensible pyproject.toml based configuration for this project
setting pydocstyle convention to numpy
setting the line length to match blacks (88)
adding per file ignores for things like asserts in pytest modules
The text was updated successfully, but these errors were encountered:
As requested in #61, this issue is to track potentially moving to Ruff.
Ruff boasts being a drop in replacement for flake8 as long as certain conditions are met (this project meets those conditions).
On the direction of @priv-kweihmann, I'm happy to generate a PR that does most of the conversion:
The text was updated successfully, but these errors were encountered: