diff --git a/tox.ini b/tox.ini index d0aee6953195abf557cead9ab364bfb8f1e37d1c_dG94LmluaQ==..70fdf9d3b4248d8a16a514f63f41e7b57471bcd5_dG94LmluaQ== 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,9 @@ [tox] envlist = py27,flake8 +[tox:jenkins] +envlist = py27,flake8-jenkins + [testenv] sitepackages = true deps = @@ -15,5 +18,12 @@ deps = flake8 commands = flake8 +[testenv:flake8-jenkins] +skip_install = true +whitelist_externals = + flake8 +deps = + flake8 +commands = flake8 --exit-zero --show-source --output-file=code_quality.log {toxinidir} [flake8] @@ -18,3 +28,6 @@ [flake8] -exclude = migration/*,test/data/*,setup.py,.tox/* +format = pylint +max-line-length = 100 +ignore = E731,W503 +exclude = __pkginfo__.py,migration/*,test/data/*,setup.py,.tox/*