Skip to content

Enable flake8 for new python config files (local compilation)

Frank Winklmeier requested to merge fwinkl/athena:flake8_workdir into master

Enable flake8 during local compilation of Accumulator-based python files. Will print a warning for each code violation. See atlasexternals!512 (merged) for further details. Once all packages are clear of warnings, this will be enabled for the full release build as well (see !25435 (merged)).

Packages that want to enable flake8 with the default configuration for all their python modules, can add the following to their CMakeLists.txt:

atlas_install_python_modules( python/*.py
   POST_BUILD_CMD ${ATLAS_FLAKE8} )

Merge request reports