From e06f7d463e837944975dc032ba9abef679544a10 Mon Sep 17 00:00:00 2001
From: Frank Winklmeier <frank.winklmeier@cern.ch>
Date: Mon, 18 May 2020 17:16:41 +0200
Subject: [PATCH] DetectorStatus: Move flake8 checking to build stage

---
 .../DetDescrCond/DetectorStatus/CMakeLists.txt              | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/DetectorDescription/DetDescrCond/DetectorStatus/CMakeLists.txt b/DetectorDescription/DetDescrCond/DetectorStatus/CMakeLists.txt
index cedf9ffba27..96942605f8f 100644
--- a/DetectorDescription/DetDescrCond/DetectorStatus/CMakeLists.txt
+++ b/DetectorDescription/DetDescrCond/DetectorStatus/CMakeLists.txt
@@ -14,8 +14,4 @@ atlas_depends_on_subdirs( PUBLIC
 			  )
 
 # Install files from the package:
-atlas_install_python_modules( python/*.py )
-
-atlas_add_test( flake8_test_dir
-                SCRIPT flake8 --select=ATL,F,E7,E9,W6  ${CMAKE_CURRENT_SOURCE_DIR}/python
-                POST_EXEC_SCRIPT nopost.sh )
+atlas_install_python_modules( python/*.py POST_BUILD_CMD ${ATLAS_FLAKE8} )
-- 
GitLab