From 435b4bb2ef920356d996d8b05bc6f4de6a6b2259 Mon Sep 17 00:00:00 2001 From: Igor Belikov Date: Mon, 2 Nov 2015 17:43:25 +0300 Subject: [PATCH] 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 --- .gitignore | 1 + tox.ini | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 tox.ini diff --git a/.gitignore b/.gitignore index 59c3e66ce3..6c455cdf65 100644 --- a/.gitignore +++ b/.gitignore @@ -28,6 +28,7 @@ nailgun/static/css/styles.css .idea .DS_Store +.tox *.egg-info diff --git a/tox.ini b/tox.ini new file mode 100644 index 0000000000..e9809bb96a --- /dev/null +++ b/tox.ini @@ -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}