diff options
author | Parker Berberian <pberberian@iol.unh.edu> | 2019-01-28 19:25:50 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2019-01-28 19:25:50 +0000 |
commit | 33ce5acd438fbb81522fffeb81e2d1a58861b57f (patch) | |
tree | aafd7ad1af9fa050f64382947fb43887abc9e95a | |
parent | 465c14ae555791404d798d4857d46b6db397a7b4 (diff) | |
parent | 1f1d078a0846f4903c2425a30da86933221e2cb9 (diff) |
Merge "Add Tox commands to lint Python code"
-rw-r--r-- | tox.ini | 21 |
1 files changed, 21 insertions, 0 deletions
@@ -0,0 +1,21 @@ +[tox] +envlist = flake8 +skipsdist = True + +[testenv] +deps = -rrequirements.txt +basepython = python3 + +# Store flake8 config here intead of .flake8 +[flake8] +ignore = + # Ignore 'line-too-long' warnings + E501 +exclude = + src/manage.py + +[testenv:flake8] +deps = + -rrequirements.txt + flake8 +commands = flake8 src/ |