diff options
author | Daniel Schadt <kingdread@gmx.de> | 2022-12-09 21:23:59 +0100 |
---|---|---|
committer | Daniel Schadt <kingdread@gmx.de> | 2022-12-09 21:23:59 +0100 |
commit | 0130f540ffefac371910a05cf52f30ac3bf06b5b (patch) | |
tree | 603896b7944415c3fe01d39ea1fdd8eba8c2dd69 /tox.ini | |
parent | 5ab50deb4c784e8c07e8600a4a95aafb3b146f75 (diff) | |
download | fietsboek-0130f540ffefac371910a05cf52f30ac3bf06b5b.tar.gz fietsboek-0130f540ffefac371910a05cf52f30ac3bf06b5b.tar.bz2 fietsboek-0130f540ffefac371910a05cf52f30ac3bf06b5b.zip |
work around tox bug regarding section flake8
See https://github.com/tox-dev/tox/issues/2636 - without the rename, tox
fails to recognize the configuration for flake8, as there is a
(non-testenv) section named the same.
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -6,7 +6,7 @@ per-file-ignores = fietsboek/models/__init__.py:F401 [tox] -envlist = python,pylint,pylint-tests,flake8,mypy,black +envlist = python,pylint,pylint-tests,flake,mypy,black # This can be removed in tox 4 as it will be the default: isolated_build = true @@ -33,7 +33,7 @@ commands_pre = commands = bash -c "pylint --rcfile=pylint.tests.toml tests/**/*.py" -[testenv:flake8] +[testenv:flake] # This is a bit of a hack since flake8 specifies Python 3.8 as minimum required # version, while fietsboek only specifices 3.7. Thus, we manually install # flake8 via pip and bypass poetry's locking- |