Athena: Enable flake8 for new python config files
Enable flake8
for Accumulator-based python files in the Athena project
and print a warning (during the build) for each code violation. See
atlasexternals!512 (merged) for further details.
Packages that want to enable the 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} )
This was discussed on Aug 1st in the SW coordination meeting: https://indico.cern.ch/event/838427/
Edited by Frank Winklmeier