Skip to content

Minimal ruff config

Yoann Schneider requested to merge minimal-ruff-config into main

Closes #164 (closed)

I added the same setup we use for base-worker (with no actual changes to how the code is currently formatted). Now we could think about enforcing some rules to uniformize the codebase (like #165 (closed)). The major upgrade using ruff is:

  • (much) faster than isort+flake8
  • more flexibility about the rules imo

I also updated the tox.ini configuration as it was getting a bit old (using tox q .) and upgraded the pre-commit hooks.

Merge request reports

Loading