diff --git a/PhysicsAnalysis/PhysicsValidation/PhysValMonitoring/CMakeLists.txt b/PhysicsAnalysis/PhysicsValidation/PhysValMonitoring/CMakeLists.txt index fbaa4c753918567a716d605aae683e74a64c82ad..7a0c27fb167f1d24a0a523a511378495d0e0cde8 100644 --- a/PhysicsAnalysis/PhysicsValidation/PhysValMonitoring/CMakeLists.txt +++ b/PhysicsAnalysis/PhysicsValidation/PhysValMonitoring/CMakeLists.txt @@ -1,28 +1,8 @@ -################################################################################ -# Package: PhysValMonitoring -################################################################################ +# Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration # Declare the package name: atlas_subdir( PhysValMonitoring ) -# Declare the package's dependencies: -atlas_depends_on_subdirs( PUBLIC - GaudiKernel - PRIVATE - Control/AthenaBaseComps - Control/AthenaMonitoring - Event/xAOD/xAODBTagging - Event/xAOD/xAODBase - Event/xAOD/xAODEgamma - Event/xAOD/xAODEventInfo - Event/xAOD/xAODJet - Event/xAOD/xAODMissingET - Event/xAOD/xAODMuon - Event/xAOD/xAODTau - Event/xAOD/xAODTracking - Reconstruction/RecEvent - Tracking/TrkValidation/TrkValHistUtils ) - # External dependencies: find_package( CLHEP ) find_package( ROOT COMPONENTS Core Tree MathCore Hist RIO pthread ) @@ -36,5 +16,4 @@ atlas_add_component( PhysValMonitoring # Install files from the package: atlas_install_joboptions( share/*.py ) -atlas_install_python_modules( python/*.py ) - +atlas_install_python_modules( python/*.py POST_BUILD_CMD ${ATLAS_FLAKE8} ) diff --git a/PhysicsAnalysis/PhysicsValidation/PhysValMonitoring/python/PhysValUtils.py b/PhysicsAnalysis/PhysicsValidation/PhysValMonitoring/python/PhysValUtils.py index ab40a0e50a61456a20e7337d1e92d817b2468fa6..a0be1eb29fe1cea72b1a3fc64cb4c31bab5a52aa 100644 --- a/PhysicsAnalysis/PhysicsValidation/PhysValMonitoring/python/PhysValUtils.py +++ b/PhysicsAnalysis/PhysicsValidation/PhysValMonitoring/python/PhysValUtils.py @@ -1,3 +1,4 @@ +# Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration # Defining a python module with helpers for Physics Validation from AthenaCommon.Logging import logging @@ -38,7 +39,7 @@ def addPhysValAODContent(algseq,doJets,doTopoCluster): Timer=0 # No timing information ) - from JetRec.JetRecConf import JetAlgorithm + from JetRec.JetRecConf import JetAlgorithm # noqa: F401 algseq += CfgMgr.JetAlgorithm("jetalgPhysVal",Tools=[jtm.jetrun_PhysVal]) logger.info( '****************** Done *****************' )