1 new commit in pytest: https://bitbucket.org/hpk42/pytest/commits/52f65c68c647/ Changeset: 52f65c68c647 Branch: flake8-clean User: RonnyPfannschmidt Date: 2015-02-22 11:54:45+00:00 Summary: begin with creating a flake8 tox env Affected #: 1 file
diff -r f1ddd1e78f1e8a83376ac7a097cc232a9aae06fb -r 52f65c68c647c2addce892b9c93a45fbfb477e11 tox.ini --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] distshare={homedir}/.tox/distshare -envlist=flakes,py26,py27,py34,pypy,py27-pexpect,py33-pexpect,py27-nobyte,py32,py33,py27-xdist,py33-xdist,py27-trial,py33-trial,doctesting,py27-cxfreeze +envlist=flake8,py26,py27,py34,pypy,py27-pexpect,py33-pexpect,py27-nobyte,py32,py33,py27-xdist,py33-xdist,py27-trial,py33-trial,doctesting,py27-cxfreeze [testenv] changedir=testing @@ -13,10 +13,10 @@ changedir=. commands= py.test --genscript=pytest1 -[testenv:flakes] +[testenv:flake8] changedir= -deps = pytest-flakes>=0.2 -commands = py.test --flakes -m flakes _pytest testing +deps = flake9 +commands = flake8 {posargs:_pytest testing pytest.py setup.py} [testenv:py27-xdist] changedir=. @@ -141,5 +141,7 @@ python_files=test_*.py *_test.py testing/*/*.py python_classes=Test Acceptance python_functions=test -pep8ignore = E401 E225 E261 E128 E124 E302 norecursedirs = .tox ja .hg + +[flake8] +max-complexity = 10 Repository URL: https://bitbucket.org/hpk42/pytest/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email. _______________________________________________ pytest-commit mailing list pytest-commit@python.org https://mail.python.org/mailman/listinfo/pytest-commit