diff --git a/PhysicsAnalysis/D3PDMaker/D3PDMakerCoreComps/python/D3PDObject.py b/PhysicsAnalysis/D3PDMaker/D3PDMakerCoreComps/python/D3PDObject.py index 8949c50fcb59002faf63b4f29f64efb5dd81b01d..2e7c3209ae8dd164e66463ebb10ae9671e8cfb39 100644 --- a/PhysicsAnalysis/D3PDMaker/D3PDMakerCoreComps/python/D3PDObject.py +++ b/PhysicsAnalysis/D3PDMaker/D3PDMakerCoreComps/python/D3PDObject.py @@ -80,7 +80,7 @@ class DeferArg (object): If FooD3PDObject is then instantiated with a StoreGate key of `Bar', then the Name argument of this block will be set to `name_Bar'. """ - def __init__ (self, str, gdict = globals(), **kw): + def __init__ (self, str, gdict = globals(), **kw): # noqa: B008 (globals is already a global ref.) self.str = str self.gdict = gdict self.kw = kw diff --git a/PhysicsAnalysis/D3PDMaker/D3PDMakerReader/python/MultiReaderAlg.py b/PhysicsAnalysis/D3PDMaker/D3PDMakerReader/python/MultiReaderAlg.py index c5b56a83de619833363439678a9d3c451047bebe..88d9db368a2bcc62d07fd1c9e47252198aec295e 100644 --- a/PhysicsAnalysis/D3PDMaker/D3PDMakerReader/python/MultiReaderAlg.py +++ b/PhysicsAnalysis/D3PDMaker/D3PDMakerReader/python/MultiReaderAlg.py @@ -1,4 +1,4 @@ -# Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration +# Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration from D3PDMakerCoreComps.D3PDObject import D3PDObject import D3PDMakerCoreComps @@ -22,7 +22,7 @@ class MultiReaderAlg( D3PD__MultiReaderAlg ): name, seq = topSequence, tuplename = None, - preD3PDAlgSeqName = D3PDMakerFlags.PreD3PDAlgSeqName(), + preD3PDAlgSeqName = D3PDMakerFlags.PreD3PDAlgSeqName(), # noqa: B008 (constant string) **kwargs ): self.__logger = logging.getLogger( "MultiReaderAlg" ) diff --git a/PhysicsAnalysis/D3PDMaker/D3PDMakerReader/python/ReaderAlg.py b/PhysicsAnalysis/D3PDMaker/D3PDMakerReader/python/ReaderAlg.py index 59b21cb758bb134554294c74644678cd4af3e991..1b3e09c93904acbe81f95d75eb2ff5a0942ae23c 100644 --- a/PhysicsAnalysis/D3PDMaker/D3PDMakerReader/python/ReaderAlg.py +++ b/PhysicsAnalysis/D3PDMaker/D3PDMakerReader/python/ReaderAlg.py @@ -1,4 +1,4 @@ -# Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration +# Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration import D3PDMakerCoreComps @@ -21,7 +21,7 @@ class ReaderAlg( D3PD__ReaderAlg ): name, seq = topSequence, tuplename = None, - preD3PDAlgSeqName = D3PDMakerFlags.PreD3PDAlgSeqName(), + preD3PDAlgSeqName = D3PDMakerFlags.PreD3PDAlgSeqName(), # noqa: B008 (constant string) **kwargs ): self.__logger = logging.getLogger( "ReaderAlg" )