diff --git a/.travis.yml b/.travis.yml index 4ff4d5f4833acebd66f0ad0be09a23fd1ce0139a..96138813e2e10f75c1ef68ad3f3599cc9b5beee4 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 similarity index 100% rename from flake8.ini rename to flake8-framework.ini diff --git a/flake8-packages.ini b/flake8-packages.ini new file mode 100644 index 0000000000000000000000000000000000000000..32ced73dd7ac7be361176bef74bad493f1b3d473 --- /dev/null +++ b/flake8-packages.ini @@ -0,0 +1,3 @@ +[flake8] +ignore = W391,F403,E221,F821 +max-line-length = 79