Skip to content
Snippets Groups Projects

Athena: Enable flake8 for new python config files

Merged Frank Winklmeier requested to merge fwinkl/athena:flake8_newconfig into master

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/

cc @emoyse @wlampl @akraszna

Edited by Frank Winklmeier

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading