diff --git a/PhysicsAnalysis/PATJobTransforms/CMakeLists.txt b/PhysicsAnalysis/PATJobTransforms/CMakeLists.txt index b94a71f9c65fd77e2a643cf513af3b74de634a0e..1327997130e8f4fccc25a5ce54cb62a0d1d3f808 100644 --- a/PhysicsAnalysis/PATJobTransforms/CMakeLists.txt +++ b/PhysicsAnalysis/PATJobTransforms/CMakeLists.txt @@ -1,18 +1,10 @@ -################################################################################ -# Package: PATJobTransforms -################################################################################ +# Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration # Declare the package name: atlas_subdir( PATJobTransforms ) -# Declare the package's dependencies: -atlas_depends_on_subdirs( PUBLIC - Reconstruction/RecJobTransforms - Tools/PyJobTransforms - Tools/PyJobTransformsCore ) - # Install files from the package: -atlas_install_python_modules( python/*.py ) +atlas_install_python_modules( python/*.py POST_BUILD_CMD ${ATLAS_FLAKE8} ) atlas_install_joboptions( share/*.py ) atlas_install_runtime( scripts/*.py ) diff --git a/PhysicsAnalysis/PATJobTransforms/python/PATTransformUtils.py b/PhysicsAnalysis/PATJobTransforms/python/PATTransformUtils.py index e4afc2a28056580cb6dc5d31ba13625beffb6d17..a16bf26308c430ba62f7c452ce5cedaa02b2ecb9 100644 --- a/PhysicsAnalysis/PATJobTransforms/python/PATTransformUtils.py +++ b/PhysicsAnalysis/PATJobTransforms/python/PATTransformUtils.py @@ -1,9 +1,8 @@ -from builtins import zip -# Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration +# Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration ## @brief Module with PAT transform options and substeps -import logging +from builtins import zip # Get the base logger for the transforms and extend it for us from PyJobTransforms.trfLogger import msg