Skip to content
Snippets Groups Projects
Commit 9df13089 authored by Frank Winklmeier's avatar Frank Winklmeier
Browse files

Projects: Enable flake8 checking for all python modules

Enable `flake8` checking for all python modules by default.

Closes ATLINFR-3889.
parent 403d7481
No related branches found
No related tags found
6 merge requests!58791DataQualityConfigurations: Modify L1Calo config for web display,!46784MuonCondInterface: Enable thread-safety checking.,!46776Updated LArMonitoring config file for WD to match new files produced using MT,!45405updated ART test cron job,!42417Draft: DIRE and VINCIA Base Fragments for Pythia 8.3,!39531Projects: Enable flake8 checking for all python modules
# Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration # Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
# Set up the project. # Set up the project.
cmake_minimum_required( VERSION 3.6 ) cmake_minimum_required( VERSION 3.6 )
...@@ -12,7 +12,7 @@ set( ATLAS_FLAKE8 flake8_atlas --select ATL,F,E101,E7,E9,W6 ...@@ -12,7 +12,7 @@ set( ATLAS_FLAKE8 flake8_atlas --select ATL,F,E101,E7,E9,W6
--ignore ATL238,ATL9,E701,E702,E704,E741 --ignore ATL238,ATL9,E701,E702,E704,E741
--enable-extensions ATL902 --enable-extensions ATL902
CACHE STRING "Default flake8 command" ) CACHE STRING "Default flake8 command" )
set( ATLAS_PYTHON_CHECKER ${ATLAS_FLAKE8} --filterFiles AthenaConfiguration set( ATLAS_PYTHON_CHECKER ${ATLAS_FLAKE8}
CACHE STRING "Python checker command to run during Python module compilation" ) CACHE STRING "Python checker command to run during Python module compilation" )
# Find the ATLAS CMake code: # Find the ATLAS CMake code:
......
# Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration # Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
# Set up the project. # Set up the project.
cmake_minimum_required( VERSION 3.6 ) cmake_minimum_required( VERSION 3.6 )
...@@ -12,7 +12,7 @@ set( ATLAS_FLAKE8 flake8_atlas --select ATL,F,E101,E7,E9,W6 ...@@ -12,7 +12,7 @@ set( ATLAS_FLAKE8 flake8_atlas --select ATL,F,E101,E7,E9,W6
--ignore ATL238,ATL9,E701,E702,E704,E741 --ignore ATL238,ATL9,E701,E702,E704,E741
--enable-extensions ATL902 --enable-extensions ATL902
CACHE STRING "Default flake8 command" ) CACHE STRING "Default flake8 command" )
set( ATLAS_PYTHON_CHECKER ${ATLAS_FLAKE8} --filterFiles AthenaConfiguration set( ATLAS_PYTHON_CHECKER ${ATLAS_FLAKE8}
CACHE STRING "Python checker command to run during Python module compilation" ) CACHE STRING "Python checker command to run during Python module compilation" )
# Find the ATLAS CMake code: # Find the ATLAS CMake code:
......
# Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration # Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
# Set up the project. # Set up the project.
cmake_minimum_required( VERSION 3.10 ) cmake_minimum_required( VERSION 3.10 )
...@@ -52,7 +52,7 @@ set( ATLAS_FLAKE8 flake8_atlas --select ATL,F,E101,E7,E9,W6 ...@@ -52,7 +52,7 @@ set( ATLAS_FLAKE8 flake8_atlas --select ATL,F,E101,E7,E9,W6
--ignore ATL238,ATL9,E701,E702,E704,E741 --ignore ATL238,ATL9,E701,E702,E704,E741
--enable-extensions ATL902 --enable-extensions ATL902
CACHE STRING "Default flake8 command" ) CACHE STRING "Default flake8 command" )
set( ATLAS_PYTHON_CHECKER ${ATLAS_FLAKE8} --filterFiles AthenaConfiguration set( ATLAS_PYTHON_CHECKER ${ATLAS_FLAKE8}
CACHE STRING "Python checker command to run during Python module compilation" ) CACHE STRING "Python checker command to run during Python module compilation" )
# Find the ATLAS CMake code: # Find the ATLAS CMake code:
......
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