This PR supersedes parts of PR #100 by replacing black, isort and flake8 with ruff.
ruff is faster, easier to configure and implements everything they offer that we would ever need.
To format the entire codebase, do ruff format .. See the Documentation.
To perform linting, do ruff check .. See the Documentation. To sort imports, do ruff check --select I --fix
Checklist
[x] I have tested this change locally and it works as expected.
[ ] I have made sure that the code follows the formatting and style guidelines of the project. (Ruff won't be used in this PR.)
Summary
This PR supersedes parts of PR #100 by replacing
black
,isort
andflake8
withruff
.ruff
is faster, easier to configure and implements everything they offer that we would ever need.To format the entire codebase, do
ruff format .
. See the Documentation. To perform linting, doruff check .
. See the Documentation. To sort imports, doruff check --select I --fix
Checklist
Labels
https://github.com/sloukit/pydew-valley-uzh/labels/type%3A%20enhancement, https://github.com/sloukit/pydew-valley-uzh/labels/area%3A%20ci, https://github.com/sloukit/pydew-valley-uzh/labels/area%3A%20code%20quality