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

McAsciiEventSelector: cmake cleanup and enable flake8

parent d5c7c636
No related branches found
No related tags found
No related merge requests found
################################################################################ # Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
# Package: McAsciiEventSelector
################################################################################
# Declare the package name: # Declare the package name:
atlas_subdir( McAsciiEventSelector ) atlas_subdir( McAsciiEventSelector )
# Declare the package's dependencies:
atlas_depends_on_subdirs( PUBLIC
GaudiKernel
PRIVATE
Control/AthenaBaseComps
Control/AthenaKernel
Event/EventInfo
PhysicsAnalysis/TruthParticleID/McParticleKernel )
# Component(s) in the package: # Component(s) in the package:
atlas_add_component( McAsciiEventSelector atlas_add_component( McAsciiEventSelector
src/*.cxx src/*.cxx
...@@ -21,6 +10,6 @@ atlas_add_component( McAsciiEventSelector ...@@ -21,6 +10,6 @@ atlas_add_component( McAsciiEventSelector
LINK_LIBRARIES GaudiKernel AthenaBaseComps AthenaKernel EventInfo McParticleKernel ) LINK_LIBRARIES GaudiKernel AthenaBaseComps AthenaKernel EventInfo McParticleKernel )
# Install files from the package: # 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_joboptions( share/*.py )
# Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration # Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
## @file McAsciiEventSelector/python/ReadMcAscii.py ## @file McAsciiEventSelector/python/ReadMcAscii.py
## @brief: install the McAsciiEventSelector ## @brief: install the McAsciiEventSelector
def _loadReadMcAscii(): def _loadReadMcAscii():
import AthenaCommon.AtlasUnixStandardJob import AthenaCommon.AtlasUnixStandardJob # noqa: F401
from AthenaCommon.AppMgr import theApp from AthenaCommon.AppMgr import theApp
from AthenaCommon.AppMgr import ServiceMgr as svcMgr from AthenaCommon.AppMgr import ServiceMgr as svcMgr
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment