diff --git a/DDG4/python/DDSim/Helper/Physics.py b/DDG4/python/DDSim/Helper/Physics.py index 99736cf8e5e72bd139e25f0d27bfaeb292c3f8f9..9ca3801dc6180e59b0fd1b3cc34469c62c80d2c9 100644 --- a/DDG4/python/DDSim/Helper/Physics.py +++ b/DDG4/python/DDSim/Helper/Physics.py @@ -105,12 +105,12 @@ class Physics(ConfigHelper): self._decays = val @property - def list(self): + def list(self): # noqa: A003 """The name of the Geant4 Physics list.""" return self._list @list.setter - def list(self, val): + def list(self, val): # noqa: A003 self._list = val def setupPhysics(self, kernel, name=None): diff --git a/GaudiPluginService/python/GaudiPluginService/cpluginsvc.py b/GaudiPluginService/python/GaudiPluginService/cpluginsvc.py index 82e939de2b4ab3885f4e244334d5ac35ea2c787e..c04954bf1ec5d062423c5f069bdb640ac240e742 100644 --- a/GaudiPluginService/python/GaudiPluginService/cpluginsvc.py +++ b/GaudiPluginService/python/GaudiPluginService/cpluginsvc.py @@ -111,7 +111,7 @@ class Factory(ctypes.Structure): return _lib.cgaudi_factory_get_library(self) @property - def type(self): + def type(self): # noqa: A003 return _lib.cgaudi_factory_get_type(self) @property diff --git a/examples/LHeD/scripts/LHeD.py b/examples/LHeD/scripts/LHeD.py index 1935810d0632a07a161bf0e6ee0330705e9bd227..687c6596d37ab600dd2795d924dd76df0027390b 100644 --- a/examples/LHeD/scripts/LHeD.py +++ b/examples/LHeD/scripts/LHeD.py @@ -26,7 +26,7 @@ class LHeD: return self.geant4.setupTrackingField(prt=True) # Example to show how to setup random generator - def setupRandom(self, name, type=None, seed=None, quiet=True): # noqa: A002 + def setupRandom(self, name, type=None, seed=None, quiet=True): # noqa: A002 rndm = DDG4.Action(self.kernel, 'Geant4Random/' + name) if seed: rndm.Seed = seed