Use fixed version of important dev tools to avoid failing CI

Also use the "black" profile for isort.
This commit is contained in:
Baptiste Jonglez 2023-01-31 16:53:37 +01:00 committed by zorun
parent f933776fdc
commit 2d5240d3d6
2 changed files with 5 additions and 5 deletions

View file

@ -55,14 +55,14 @@ database =
PyMySQL>=0.9,<1.1
dev =
black>=19.10b0 ; python_version >= '3.7'
flake8>=3.7.9
black==22.12.0
flake8==5.0.4
isort==5.11.5
vermin==1.5.1
Flask-Testing>=0.8.1
isort>=5.0.0
pytest>=6.2.5
tox>=3.14.6
zest.releaser>=6.20.1
vermin
doc =
Sphinx==5.3.0

View file

@ -18,7 +18,7 @@ changedir = /tmp
[testenv:lint_docs]
commands =
black --check --target-version=py37 .
isort -c .
isort --check --profile black .
flake8 ihatemoney
vermin --no-tips --violations -t=3.7- .
sphinx-build -a -n -b html -d docs/_build/doctrees docs docs/_build/html