qa : copied flake8 configuration, updated travis.yml
This commit is contained in:
parent
979b53cab6
commit
190c437980
@ -27,7 +27,7 @@ script:
|
|||||||
- coverage run bin/spack test
|
- coverage run bin/spack test
|
||||||
# Checks if the file that have been changed are flake8 conformant
|
# Checks if the file that have been changed are flake8 conformant
|
||||||
- CHANGED_PYTHON_FILES=`git diff develop... --name-only | perl -ne 'print if /\.py$/'`
|
- 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:
|
after_success:
|
||||||
|
3
flake8-packages.ini
Normal file
3
flake8-packages.ini
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
[flake8]
|
||||||
|
ignore = W391,F403,E221,F821
|
||||||
|
max-line-length = 79
|
Loading…
Reference in New Issue
Block a user