Skip to content
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

Remove ruff #594

Merged
merged 5 commits into from
Dec 22, 2023
Merged

Remove ruff #594

merged 5 commits into from
Dec 22, 2023

Conversation

sirosen
Copy link
Collaborator

@sirosen sirosen commented Dec 22, 2023

Simply put, I tried out ruff because someone came along and pushed me to do it, and I was open to the idea.
But frankly if you aren't a maintainer of a project you really ought not to be trying to make decisions about the development toolchain.

All of my other projects are using the same toolchain and I'm just making nose2 match them so that it's easier to swap in and do work when necessary.

Choice of linter toolchain is a matter for project developers. `ruff`
was pushed by an external contributor, and was accepted to hopefully
improve interest/engagement in maintenance.

However, there was no particular reason to use `ruff` and it puts us
in the position of opting out of a lot of configs rather than opting
in to what we want.

flake8 also offers a plugin framework which allows for checks like
`flake8-typing-as-t` to be easily added post-hoc.

In addition to flake8, reapply isort and pyupgrade, and add slyp.
pre-commit autoupdate + upadup
@sirosen sirosen merged commit 8cbde62 into main Dec 22, 2023
20 checks passed
@sirosen sirosen deleted the remove-ruff branch December 22, 2023 03:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant