summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2018-10-10 09:53:09 -0500
committerMichael Merickel <michael@merickel.org>2018-10-15 09:24:04 -0500
commit851c368e3c158e264358de10446f5b5de240e534 (patch)
treed31d9831ec6ebf6e0143b724f97011c1fff000c5 /tox.ini
parent81576ee51564c49d5ff3c1c07f214f22a8438231 (diff)
downloadpyramid-851c368e3c158e264358de10446f5b5de240e534.tar.gz
pyramid-851c368e3c158e264358de10446f5b5de240e534.tar.bz2
pyramid-851c368e3c158e264358de10446f5b5de240e534.zip
configure black and update flake8
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini18
1 files changed, 14 insertions, 4 deletions
diff --git a/tox.ini b/tox.ini
index 6daa244ca..8c1d32bce 100644
--- a/tox.ini
+++ b/tox.ini
@@ -17,7 +17,7 @@ basepython =
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 @@ deps = virtualenv
[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 @@ extras =
[testenv:coverage]
skip_install = true
-basepython = python3.5
+basepython = python3.6
commands =
coverage erase
coverage combine
@@ -124,6 +126,14 @@ deps =
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