diff options
author | alalazo <massimiliano.culpo@googlemail.com> | 2016-05-10 18:38:30 +0200 |
---|---|---|
committer | alalazo <massimiliano.culpo@googlemail.com> | 2016-05-10 18:38:30 +0200 |
commit | 190c437980ecb7e1710643b05278cfd4f4b77b1b (patch) | |
tree | 666a1804fb2b94c9ce4d455431445e16c04133c0 | |
parent | 979b53cab605d250dfe23edaacc6b0d2ff88d978 (diff) | |
download | spack-190c437980ecb7e1710643b05278cfd4f4b77b1b.tar.gz spack-190c437980ecb7e1710643b05278cfd4f4b77b1b.tar.bz2 spack-190c437980ecb7e1710643b05278cfd4f4b77b1b.tar.xz spack-190c437980ecb7e1710643b05278cfd4f4b77b1b.zip |
qa : copied flake8 configuration, updated travis.yml
-rw-r--r-- | .travis.yml | 2 | ||||
-rw-r--r-- | flake8-framework.ini (renamed from flake8.ini) | 0 | ||||
-rw-r--r-- | flake8-packages.ini | 3 |
3 files changed, 4 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 4ff4d5f483..96138813e2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -27,7 +27,7 @@ script: - coverage run bin/spack test # Checks if the file that have been changed are flake8 conformant - CHANGED_PYTHON_FILES=`git diff develop... --name-only | perl -ne 'print if /\.py$/'` - - if [[ ${CHANGED_PYTHON_FILES} ]] ; then flake8 --format pylint --config flake8.ini ${CHANGED_PYTHON_FILES} ; fi + - if [[ ${CHANGED_PYTHON_FILES} ]] ; then flake8 --format pylint --config flake8-framework.ini ${CHANGED_PYTHON_FILES} ; fi after_success: diff --git a/flake8.ini b/flake8-framework.ini index 32ced73dd7..32ced73dd7 100644 --- a/flake8.ini +++ b/flake8-framework.ini diff --git a/flake8-packages.ini b/flake8-packages.ini new file mode 100644 index 0000000000..32ced73dd7 --- /dev/null +++ b/flake8-packages.ini @@ -0,0 +1,3 @@ +[flake8] +ignore = W391,F403,E221,F821 +max-line-length = 79 |