Add tox.ini with pep8 tests to fix CI

* Add tox.ini with pep8 tests so 'gate-fuel-web-pep8' is able to
  actually run
* Ignore all existing pep8 errors and warnings to unblock merging in
  stable/5.0, but prevent any more pep8 errors and warnings
* Add .tox to .gitignore

Change-Id: Iad59da7f8e5af901e7c9fa830f3a6ebe81d021b3
Related-Bug: #1511787
This commit is contained in:
Igor Belikov 2015-11-02 17:43:25 +03:00
parent f1b3d84d9b
commit 435b4bb2ef
2 changed files with 11 additions and 0 deletions

1
.gitignore vendored
View File

@ -28,6 +28,7 @@ nailgun/static/css/styles.css
.idea
.DS_Store
.tox
*.egg-info

10
tox.ini Normal file
View File

@ -0,0 +1,10 @@
[tox]
minversion = 1.6
skipsdist = True
setupdir = {toxinidir}/nailgun
envlist = pep8
[testenv:pep8]
deps = hacking==0.7
commands =
flake8 --ignore=E128,E501,F401,H302,H306 {posargs:nailgun}