Skip to content
Snippets Groups Projects
Commit 190c4379 authored by Massimiliano Culpo's avatar Massimiliano Culpo
Browse files

qa : copied flake8 configuration, updated travis.yml

parent 979b53ca
No related branches found
No related tags found
No related merge requests found
......@@ -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:
......
File moved
[flake8]
ignore = W391,F403,E221,F821
max-line-length = 79
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment