From 851c368e3c158e264358de10446f5b5de240e534 Mon Sep 17 00:00:00 2001 From: Michael Merickel <michael@merickel.org> Date: Mon, 15 Oct 2018 16:24:04 +0200 Subject: [PATCH] configure black and update flake8 --- tox.ini | 18 ++++++++++++++---- 1 files changed, 14 insertions(+), 4 deletions(-) diff --git a/tox.ini b/tox.ini index 6daa244..8c1d32b 100644 --- a/tox.ini +++ b/tox.ini @@ -17,7 +17,7 @@ pypy: pypy pypy3: pypy3 py2: python2.7 - py3: python3.5 + py3: python3.6 commands = nosetests --with-xunit --xunit-file=nosetests-{envname}.xml {posargs:} @@ -63,13 +63,15 @@ [testenv:lint] skip_install = true -basepython = python3.5 +basepython = python3.6 commands = - flake8 pyramid/ + flake8 src/pyramid tests setup.py + black --check --diff src/pyramid tests setup.py python setup.py check -r -s -m check-manifest deps = flake8 + black readme_renderer check-manifest @@ -113,7 +115,7 @@ [testenv:coverage] skip_install = true -basepython = python3.5 +basepython = python3.6 commands = coverage erase coverage combine @@ -124,6 +126,14 @@ setenv = COVERAGE_FILE=.coverage +[testenv:black] +skip_install = true +basepython = python3.6 +commands = + black src/pyramid tests setup.py +deps = + black + [testenv:build] skip_install = true basepython = python3.6 -- Gitblit v1.9.3