Drop support for legacy Python 2

This commit is contained in:
Hugo 2018-08-14 16:26:15 +03:00 committed by hugovk
parent 5fded8398b
commit 07fac0628c
10 changed files with 90 additions and 80 deletions

18
tox.ini
View file

@ -1,5 +1,5 @@
[tox]
envlist = py27, py37, py36, py35, py34, pypy, pypy3, py38dev
envlist = py37, py36, py35, py34, pypy3, py38dev
recreate = False
[testenv]
@ -25,21 +25,7 @@ commands = {posargs}
deps =
flake8
pep8-naming
commands =
flake8 .
[testenv:py2lint]
deps =
{[testenv:lint]deps}
clonedigger
commands =
{[testenv:lint]commands}
./clonedigger.sh
[testenv:py3lint]
deps =
{[testenv:lint]deps}
black
commands =
{[testenv:lint]commands}
flake8 .
black --check --diff .