summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorAnthon van der Neut <anthon@mnt.org>2018-08-03 22:14:57 +0200
committerAnthon van der Neut <anthon@mnt.org>2018-08-03 22:14:57 +0200
commitdce10fcff1de54121fb8b440b883ef5d3fe2f96a (patch)
tree072b4bd247e6f1cd95c08c7b67fea0fc96f0578e /tox.ini
parent2966a4f215861fa05e0dc7e0cd53350766e794c6 (diff)
downloadruamel.yaml-dce10fcff1de54121fb8b440b883ef5d3fe2f96a.tar.gz
Apply oitnb and mypy 0.620, then make everything work again0.15.48
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini12
1 files changed, 9 insertions, 3 deletions
diff --git a/tox.ini b/tox.ini
index c09b65f..da5806b 100644
--- a/tox.ini
+++ b/tox.ini
@@ -7,7 +7,6 @@ commands =
/bin/bash -c 'pytest _test/test_*.py'
deps =
pytest
- flake8==2.5.5
ruamel.std.pathlib
[testenv:py27m]
@@ -15,17 +14,24 @@ basepython = /opt/python/2.7.15m/bin/python
[testenv:cs]
basepython = python3.6
+deps =
+ flake8
+ flake8-bugbear;python_version>="3.5"
commands =
- flake8 --exclude ".tox,.#*,jabsy,jinja2,base,cmd,convert" {posargs}
+ flake8 []{posargs}
[testenv:pep8]
basepython = python3.6
+deps =
+ flake8
+ flake8-bugbear;python_version>="3.5"
commands =
- flake8 --exclude ".tox,.#*,jabsy,jinja2,base,cmd,convert" {posargs}
+ flake8 []{posargs}
[flake8]
show-source = True
max-line-length = 95
+ignore = W503,F405,E203
exclude = _test/lib,.hg,.git,.tox,dist,.cache,__pycache__,ruamel.zip2tar.egg-info
[pytest]