diff --git a/Database/AthenaPOOL/AthenaPoolCnvSvc/CMakeLists.txt b/Database/AthenaPOOL/AthenaPoolCnvSvc/CMakeLists.txt
index c729d86f535411a300ce77048e975e310144d94c..b51f4c7ce566738b0eca70aff47a7206e6452fc3 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 486494d4560b4b155fbab272ab48950b0bed8d14..80ec2cd267ce2087a5cd833b0770a2ec56ae7576 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 6b8c0e83c4095bd73c7af5e9be6a9aa48675b5e4..7927cd6d2a5ca9ced802d31e448d88b17b553e52 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 fea3eb676f44e6a7554be451e67a68d3e0aaf02b..0ea87c5f5fb69171a1ef759b1b747ec2e6f95e28 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 478dfa0ef283c17dcab6642b6b35e9a1bcde3f14..104a721616786e85d1fe9cb230da60ff21f83d17 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 2736456d429aafb400a10096e51d7a7de182c8a9..dd148893b1f6fa46ba2ad102ea6fe2bf118bf426 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 2198b7f47d8f69c2a93970dbd4f5c0ed41faca2d..1862b535970572c1460dbbba5b7dc66751a07a92 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 a76e1cc02ab9f9300944e80e40546cd99e7f945e..9bd9dfbee32da76ddcd5d6778d45dd5eec4a0f08 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 c20b14352e453d25de825697bbc8b1821589d14d..84677e78701e0cad06dcff36fa2c0732888976a6 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 )