Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

pyupgrade/black/isort/flake8 → ruff #765

Closed
DimitriPapadopoulos opened this issue Jan 5, 2024 · 2 comments · Fixed by #769
Closed

pyupgrade/black/isort/flake8 → ruff #765

DimitriPapadopoulos opened this issue Jan 5, 2024 · 2 comments · Fixed by #769

Comments

@DimitriPapadopoulos
Copy link
Contributor

This is a suggestion to move from the tools listed in .pre-commit-config.yaml to ruff.

The rationale:

  • Ruff is gaining momentum, at least in scientific Python packages, enough to appear as a stable tool available in the long term.
  • Simplify by using a single tool to lint and format.
  • More ruff rules could be added, specifically flake8-bugbear.
@brettcannon
Copy link
Member

I'm supportive of switching if @pradyunsg is.

@DimitriPapadopoulos
Copy link
Contributor Author

See what it would look like in #769.

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants