This PR adds a pyproject.toml file with Ruff set as an optional dev dependency. It also adds a requirements-dev.txt file generated by pip-compile and defines format and lint targets to Makefile. Finally, it applies changes by Ruff for formatting and automatic (safe) fixes to linter violations.
make lint still fails with 84 violations, so we can't use that in a CI workflow yet. But this takes a first step to start addressing that.
This PR adds a
pyproject.toml
file with Ruff set as an optional dev dependency. It also adds arequirements-dev.txt
file generated bypip-compile
and definesformat
andlint
targets toMakefile
. Finally, it applies changes by Ruff for formatting and automatic (safe) fixes to linter violations.make lint
still fails with 84 violations, so we can't use that in a CI workflow yet. But this takes a first step to start addressing that.