Skip to content
Snippets Groups Projects
Commit ed065a31 authored by Davide Fazzini's avatar Davide Fazzini Committed by Patrick Koppenburg
Browse files

Resolve "Do not override builtin functions in options files"

parent 9e40dc59
No related branches found
No related tags found
2 merge requests!1103Draft: Add AnalysisHelpers to DaVinci Stack,!671Resolve "Do not override builtin functions in options files"
[flake8]
exclude = '*.opts.py'
select = F, # all PyFlakes warning/error codes
E71, # pycodestyle: check comparison to None/True
E9, # runtime errors
W1, # indentation warnings
W6 # deprecation warning
\ No newline at end of file
......@@ -42,7 +42,7 @@ python-linting:
script:
- . /cvmfs/lhcb.cern.ch/lib/LbEnv.sh
# Only run the pyflakes linter and a few select pycodestyle errors
- flake8 --exclude '*.opts.py' --select=F,E71,E9,W1,W6 $(find . -name '*.py')
- flake8 $(find . -name '*.py')
include:
- project: 'lhcb-rta/reference-update-bot'
......
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