diff options
| author | Michael Merickel <github@m.merickel.org> | 2018-10-15 09:56:42 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-10-15 09:56:42 -0500 |
| commit | bda1306749c62ef4f11cfe567ed7d56c8ad94240 (patch) | |
| tree | 304c696c105ca15bbe0f13d96c79524974de768b /tox.ini | |
| parent | 81576ee51564c49d5ff3c1c07f214f22a8438231 (diff) | |
| parent | a54bc1ccac17625991e26eb5d4577f893803c683 (diff) | |
| download | pyramid-bda1306749c62ef4f11cfe567ed7d56c8ad94240.tar.gz pyramid-bda1306749c62ef4f11cfe567ed7d56c8ad94240.tar.bz2 pyramid-bda1306749c62ef4f11cfe567ed7d56c8ad94240.zip | |
Merge pull request #3388 from mmerickel/black
format source using black
Diffstat (limited to 'tox.ini')
| -rw-r--r-- | tox.ini | 18 |
1 files changed, 14 insertions, 4 deletions
@@ -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 |
