Skip to content
Snippets Groups Projects
Commit 0eeafe35 authored by Frank Winklmeier's avatar Frank Winklmeier
Browse files

AthenaConfiguration: Enable flake8 build check and make python code compliant

Remove the flake8 unit test as this is now handled by the build-time
check.
parent dfa5a73c
Branches
Tags
No related merge requests found
......@@ -9,7 +9,8 @@ atlas_subdir( AthenaConfiguration )
find_package( six )
# Install files from the package:
atlas_install_python_modules( python/*.py python/iconfTool )
atlas_install_python_modules( python/*.py python/iconfTool
POST_BUILD_CMD ${ATLAS_FLAKE8} )
atlas_install_scripts( share/confTool.py python/iconfTool/iconfTool )
atlas_install_data( share/*.ref )
......@@ -43,13 +44,6 @@ if( NOT "${CMAKE_PROJECT_NAME}" STREQUAL "AthSimulation" )
POST_EXEC_SCRIPT nopost.sh )
endif()
# Check python syntax:
atlas_add_test( flake8
SCRIPT flake8 --select=ATL,F,E7,E9,W6 ${CMAKE_CURRENT_SOURCE_DIR}/python
POST_EXEC_SCRIPT nopost.sh )
# Test AppendToGlobal
atlas_add_test( appendToGlobalTest
SCRIPT athena.py testAppendToGlobals.py
......
#Files for use in configuration unit tests
# Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
# Files for use in configuration unit tests
from __future__ import print_function
......
# Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
import pickle
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment