From 2d5240d3d64d06147a0520c3a23399200d6b5a8f Mon Sep 17 00:00:00 2001 From: Baptiste Jonglez Date: Tue, 31 Jan 2023 16:53:37 +0100 Subject: [PATCH] Use fixed version of important dev tools to avoid failing CI Also use the "black" profile for isort. --- setup.cfg | 8 ++++---- tox.ini | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/setup.cfg b/setup.cfg index 87e254d6..ef8ec734 100644 --- a/setup.cfg +++ b/setup.cfg @@ -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 diff --git a/tox.ini b/tox.ini index 2c0520b3..0b071d34 100644 --- a/tox.ini +++ b/tox.ini @@ -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