Skip to content
Snippets Groups Projects
Commit 9474ddcd authored by Markus Frank's avatar Markus Frank Committed by MarkusFrankATcernch
Browse files

Silence flake8 warnings

parent 3d8e82f0
No related branches found
No related tags found
No related merge requests found
......@@ -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):
......
......@@ -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
......
......@@ -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
......
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