Skip to content
Snippets Groups Projects
Commit 0f4da020 authored by Stefan Richter's avatar Stefan Richter Committed by Frank Winklmeier
Browse files

Merge branch 'flake8_atl23' into '23.0'

Projects: update flake8 error codes

See merge request atlas/athena!62346

(cherry picked from commit a06da341)

eea12b32 Projects: update flake8 error codes
parent 3c2937f8
No related branches found
No related tags found
No related merge requests found
......@@ -18,8 +18,10 @@
"python.linting.pylintEnabled": false,
"python.linting.flake8Enabled": true,
"python.linting.flake8Args": [
"--select=ATL,ATL902,F,E101,E7,E9,W6",
"--ignore=ATL9,E701,E702,E704,E741"
"--isolated",
"--select ATL,F,E101,E7,E9,W6",
"--ignore E701,E702,E704,E741",
"--enable-extensions ATL902"
]
},
......
......@@ -13,7 +13,9 @@
"python.linting.flake8Enabled": true,
"python.linting.flake8Path": "${workspaceFolder}/../build/ide_flake8",
"python.linting.flake8Args": [
"--select=ATL,ATL902,F,E101,E7,E9,W6",
"--ignore=ATL9,E701,E702,E704,E741"
"--isolated",
"--select ATL,F,E101,E7,E9,W6",
"--ignore E701,E702,E704,E741",
"--enable-extensions ATL902"
]
}
......@@ -11,8 +11,9 @@ unset( _version )
set( HEPMC3_USE TRUE CACHE BOOL "Build with HepMC3" )
# Configure flake8:
set( ATLAS_FLAKE8 flake8_atlas --select ATL,ATL902,F,E101,E7,E9,W6
--ignore ATL9,E701,E702,E704,E741
set( ATLAS_FLAKE8 flake8_atlas --isolated --select ATL,F,E101,E7,E9,W6
--ignore E701,E702,E704,E741
--enable-extensions ATL902
CACHE STRING "Default flake8 command" )
set( ATLAS_PYTHON_CHECKER ${ATLAS_FLAKE8}
CACHE STRING "Python checker command to run during Python module compilation" )
......
......@@ -11,8 +11,9 @@ unset( _version )
set( HEPMC3_USE TRUE CACHE BOOL "Build with HepMC3" )
# Configure flake8:
set( ATLAS_FLAKE8 flake8_atlas --select ATL,ATL902,F,E101,E7,E9,W6
--ignore ATL9,E701,E702,E704,E741
set( ATLAS_FLAKE8 flake8_atlas --isolated --select ATL,F,E101,E7,E9,W6
--ignore E701,E702,E704,E741
--enable-extensions ATL902
CACHE STRING "Default flake8 command" )
set( ATLAS_PYTHON_CHECKER ${ATLAS_FLAKE8}
CACHE STRING "Python checker command to run during Python module compilation" )
......
......@@ -56,8 +56,9 @@ mark_as_advanced( TDAQ-COMMON_ATROOT TDAQ_PROJECT_NAME
set( HEPMC3_USE TRUE CACHE BOOL "Build with HepMC3" )
# Configure flake8:
set( ATLAS_FLAKE8 flake8_atlas --select ATL,ATL902,F,E101,E7,E9,W6
--ignore ATL9,E701,E702,E704,E741
set( ATLAS_FLAKE8 flake8_atlas --isolated --select ATL,F,E101,E7,E9,W6
--ignore E701,E702,E704,E741
--enable-extensions ATL902
CACHE STRING "Default flake8 command" )
set( ATLAS_PYTHON_CHECKER ${ATLAS_FLAKE8}
CACHE STRING "Python checker command to run during Python module compilation" )
......
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