diff --git a/myapp/__main__.py b/myapp/__main__.py index 6cfbf39..b2afdcf 100644 --- a/myapp/__main__.py +++ b/myapp/__main__.py @@ -7,6 +7,8 @@ # for `making_your_first_app.rst` in ARMI documentation. # (That's also why the imports aren't all at the top) +# ruff: noqa: E402 + # tutorial-configure-start import armi diff --git a/myapp/fluxSolver.py b/myapp/fluxSolver.py index 1f54ad2..9889adc 100644 --- a/myapp/fluxSolver.py +++ b/myapp/fluxSolver.py @@ -27,6 +27,6 @@ def setFakePower(core): coords = b.spatialLocator.getGlobalCoordinates() r = np.linalg.norm(abs(coords - center)) fuelFlag = 10 if b.isFuel() else 1.0 - b.p.power = peakPower / r ** 2 * fuelFlag / b.getSymmetryFactor() + b.p.power = peakPower / r**2 * fuelFlag / b.getSymmetryFactor() b.p.pdens = b.p.power / vol b.p.mgFlux = mgFluxBase * b.p.pdens diff --git a/myapp/settings.py b/myapp/settings.py index 38a6ce5..89e59d6 100644 --- a/myapp/settings.py +++ b/myapp/settings.py @@ -1,6 +1,6 @@ """Settings related to the DummyPhysicsPlugin""" -from armi.operators.settingsValidation import Query, validateVersion +from armi.operators.settingsValidation import Query from armi.settings import setting diff --git a/setup.py b/setup.py index f6bd742..2bd3445 100644 --- a/setup.py +++ b/setup.py @@ -29,7 +29,7 @@ setup( name="armi-example-app", - version=__version__, + version=__version__, # noqa: F821 description="A simple example application built using the Advanced Reactor " "Modeling Interface (ARMI)", author="TerraPower, LLC",