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

Use Ruff for Python linting and formatting #203

Merged
merged 3 commits into from
May 28, 2024
Merged

Use Ruff for Python linting and formatting #203

merged 3 commits into from
May 28, 2024

Conversation

replaceafill
Copy link
Contributor

This replaces the black, pyupgrade, reorder-python-imports and flake8 hooks in pre-commit with ruff,

In the ruff.toml file the following Ruff's rules have been selected:

  • flake8-bugbear (B)
  • flake8-comprenhensions (C4)
  • pycodestyle (E and W)
  • pyflakes (F)
  • isort (I)
  • pyupgrade (UP)

Connected to archivematica/Issues#1693

@replaceafill replaceafill requested a review from a team May 27, 2024 17:42
@replaceafill replaceafill merged commit cd21247 into qa/1.x May 28, 2024
11 checks passed
@replaceafill replaceafill deleted the dev/ruff branch May 28, 2024 16:42
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants