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

Add option to use ruff instead of pylint #22

Open
pppmlt opened this issue Aug 25, 2023 · 0 comments · May be fixed by #28
Open

Add option to use ruff instead of pylint #22

pppmlt opened this issue Aug 25, 2023 · 0 comments · May be fixed by #28
Labels
enhancement New feature or request

Comments

@pppmlt
Copy link
Contributor

pppmlt commented Aug 25, 2023

  • ruff (https://github.com/astral-sh/ruff) is a nice and fast alternative to pylint
  • add option to use ruff instead of pylint
  • if ruff is chosen
    • remove .pylintrc
    • remove isort
    • adapt pyproject.toml
[tool.ruff]
# Never enforce `E501` (line length violations), as this is handled by black
ignore = ["E501"]
line-length = 100 # sync with black
  • ruff can be used as "normal" hook and does not need to be able to import (so not as mandatory local hook like pylint)
@pppmlt pppmlt added the enhancement New feature or request label Aug 25, 2023
@DavidSchischke DavidSchischke linked a pull request Nov 7, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant