From 832c65b30c427c7a7bc093ea206aa885eabdbaf6 Mon Sep 17 00:00:00 2001 From: Frank Winklmeier <fwinkl@cern> Date: Mon, 26 Oct 2020 12:13:56 +0100 Subject: [PATCH] Database: enable flake8 --- Database/AthenaPOOL/AthenaPoolCnvSvc/CMakeLists.txt | 2 +- Database/AthenaPOOL/AthenaPoolUtilities/CMakeLists.txt | 2 +- Database/AthenaPOOL/AtlasCollectionTools/CMakeLists.txt | 2 +- Database/AthenaRoot/AthenaRootComps/CMakeLists.txt | 2 +- Database/AtlasSealCLHEP/CMakeLists.txt | 2 +- Database/CoolConvUtilities/CMakeLists.txt | 2 +- Database/EventIndex/EventIndexProducer/CMakeLists.txt | 2 +- Database/FileStager/CMakeLists.txt | 2 +- Database/RegistrationServices/CMakeLists.txt | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Database/AthenaPOOL/AthenaPoolCnvSvc/CMakeLists.txt b/Database/AthenaPOOL/AthenaPoolCnvSvc/CMakeLists.txt index c729d86f535..b51f4c7ce56 100644 --- a/Database/AthenaPOOL/AthenaPoolCnvSvc/CMakeLists.txt +++ b/Database/AthenaPOOL/AthenaPoolCnvSvc/CMakeLists.txt @@ -72,5 +72,5 @@ atlas_add_test( T_AuxContainerCopyTPCnv_test LINK_LIBRARIES ${ROOT_LIBRARIES} AthenaPoolCnvSvcLib TestTools ) # 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 share/*.txt ) diff --git a/Database/AthenaPOOL/AthenaPoolUtilities/CMakeLists.txt b/Database/AthenaPOOL/AthenaPoolUtilities/CMakeLists.txt index 486494d4560..80ec2cd267c 100644 --- a/Database/AthenaPOOL/AthenaPoolUtilities/CMakeLists.txt +++ b/Database/AthenaPOOL/AthenaPoolUtilities/CMakeLists.txt @@ -28,7 +28,7 @@ atlas_add_dictionary( AthenaPoolUtilitiesDict # Install files from the package: atlas_install_joboptions( share/*.py ) atlas_install_scripts( share/post_tpcnvtest.sh ) -atlas_install_python_modules( python/*.py) +atlas_install_python_modules( python/*.py POST_BUILD_CMD ${ATLAS_FLAKE8} ) # Install the CMake code from the package: atlas_install_generic( cmake/AthenaPoolUtilitiesTestConfig.cmake diff --git a/Database/AthenaPOOL/AtlasCollectionTools/CMakeLists.txt b/Database/AthenaPOOL/AtlasCollectionTools/CMakeLists.txt index 6b8c0e83c40..7927cd6d2a5 100644 --- a/Database/AthenaPOOL/AtlasCollectionTools/CMakeLists.txt +++ b/Database/AthenaPOOL/AtlasCollectionTools/CMakeLists.txt @@ -19,7 +19,7 @@ atlas_add_executable( AthCollAppend LINK_LIBRARIES AtlasCollectionTools CollectionUtilities ) # Install files from the package: -atlas_install_python_modules( python/countGuidsClient.py python/eventLookupClient.py ) +atlas_install_python_modules( python/countGuidsClient.py python/eventLookupClient.py POST_BUILD_CMD ${ATLAS_FLAKE8} ) atlas_install_scripts( python/listDatasets.py ) atlas_install_scripts( python/runEventLookup.py python/runGuidsCount.py python/tagExtract.py python/tagDSList.py ) diff --git a/Database/AthenaRoot/AthenaRootComps/CMakeLists.txt b/Database/AthenaRoot/AthenaRootComps/CMakeLists.txt index fea3eb676f4..0ea87c5f5fb 100644 --- a/Database/AthenaRoot/AthenaRootComps/CMakeLists.txt +++ b/Database/AthenaRoot/AthenaRootComps/CMakeLists.txt @@ -23,7 +23,7 @@ atlas_add_component( AthenaRootComps LINK_LIBRARIES ${Boost_LIBRARIES} ${ROOT_LIBRARIES} AthenaBaseComps AthenaKernel AthenaRootCompsLib AthenaRootKernel DataModelRoot EventInfo FileCatalog GaudiKernel PersistentDataModel PoolSvcLib RootUtils SGTools StoreGateLib xAODCore xAODEventInfo xAODRootAccess ) # 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/tests/*.py ) atlas_install_scripts( test/*.sh test/ref.* test/*.py ) diff --git a/Database/AtlasSealCLHEP/CMakeLists.txt b/Database/AtlasSealCLHEP/CMakeLists.txt index 478dfa0ef28..104a7216167 100644 --- a/Database/AtlasSealCLHEP/CMakeLists.txt +++ b/Database/AtlasSealCLHEP/CMakeLists.txt @@ -20,7 +20,7 @@ atlas_add_dictionary( AtlasSealCLHEPDict LINK_LIBRARIES AtlasSealCLHEP ) # 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_add_test( OldCLHEPStreamers_test diff --git a/Database/CoolConvUtilities/CMakeLists.txt b/Database/CoolConvUtilities/CMakeLists.txt index 2736456d429..dd148893b1f 100644 --- a/Database/CoolConvUtilities/CMakeLists.txt +++ b/Database/CoolConvUtilities/CMakeLists.txt @@ -18,7 +18,7 @@ atlas_add_executable( AtlCoolCopy set_target_properties( AtlCoolCopy PROPERTIES ENABLE_EXPORTS True ) # 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/coolDumpFolderTags.py ) atlas_install_scripts( share/AtlCoolConsole.py share/coolIOVToTimeStamp.py share/coolTimeStampLocalToIOV.py share/coolTimeStampUTCToIOV.py share/RunList.py share/AtlCoolCheckFiles.py share/AtlCoolTopTag.py share/AtlCoolMakeReplica.py share/coolMagneticField.py share/AtlCoolCopy_test.sh ) diff --git a/Database/EventIndex/EventIndexProducer/CMakeLists.txt b/Database/EventIndex/EventIndexProducer/CMakeLists.txt index 2198b7f47d8..1862b535970 100644 --- a/Database/EventIndex/EventIndexProducer/CMakeLists.txt +++ b/Database/EventIndex/EventIndexProducer/CMakeLists.txt @@ -4,7 +4,7 @@ atlas_subdir( EventIndexProducer ) # 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/Database/FileStager/CMakeLists.txt b/Database/FileStager/CMakeLists.txt index a76e1cc02ab..9bd9dfbee32 100644 --- a/Database/FileStager/CMakeLists.txt +++ b/Database/FileStager/CMakeLists.txt @@ -29,7 +29,7 @@ atlas_add_executable( StageMonitor LINK_LIBRARIES FileStagerLib ) # 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_scripts( scripts/define_* scripts/interpret_* scripts/wrapper_* ) diff --git a/Database/RegistrationServices/CMakeLists.txt b/Database/RegistrationServices/CMakeLists.txt index c20b14352e4..84677e78701 100644 --- a/Database/RegistrationServices/CMakeLists.txt +++ b/Database/RegistrationServices/CMakeLists.txt @@ -24,6 +24,6 @@ atlas_add_component( RegistrationServices LINK_LIBRARIES ${COOL_LIBRARIES} ${CORAL_LIBRARIES} AthenaBaseComps AthenaKernel AthenaPoolUtilities CollectionBase DBDataModel FileCatalog IOVDbSvcLib PersistentDataModel PoolSvcLib RegistrationServicesLib SGTools StoreGateLib ) # 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 ) -- GitLab