Use pre-commits hooks instead of ruff directly

This commit is contained in:
2024-06-26 19:00:41 +02:00
parent e29e1101cd
commit c7135875b8
5 changed files with 235 additions and 19 deletions

View File

@ -49,12 +49,13 @@ Sphinx = "^5" # Needed for building xapian
tomli = "^2.0.1"
[tool.poetry.group.dev.dependencies]
freezegun = "^1.2.2" # used to test time-dependent code
django-debug-toolbar = "^4.0.0"
ipython = "^8.26.0"
ruff = "^0.4.10"
pre-commit = "^3.7.1"
ruff = "^0.4.10" # Version used in pipeline is controlled by pre-commit hooks in .pre-commit.config.yaml
[tool.poetry.group.tests.dependencies]
freezegun = "^1.2.2" # used to test time-dependent code
pytest = "^8.2.2"
pytest-cov = "^5.0.0"
pytest-django = "^4.8.0"