Try the python_version trick.

This commit is contained in:
Rémy HUBSCHER 2020-04-21 10:21:06 +02:00
parent 4ac476fbb3
commit a6b3fa885e
No known key found for this signature in database
GPG key ID: A500E24B95405094
2 changed files with 1 additions and 1 deletions

View file

@ -41,6 +41,7 @@ install_requires =
[options.extras_require] [options.extras_require]
dev = dev =
black==19.10b0 ; python_version >= '3.6'
flake8==3.7.9 flake8==3.7.9
Flask-Testing==0.8.0 Flask-Testing==0.8.0
pytest==5.4.1 pytest==5.4.1

View file

@ -22,7 +22,6 @@ changedir = {toxinidir}
[testenv:black] [testenv:black]
commands = black --check --target-version=py34 . commands = black --check --target-version=py34 .
deps = black
changedir = {toxinidir} changedir = {toxinidir}
[testenv:flake8] [testenv:flake8]