Skip to content

Commit

Permalink
Fix pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
s9latimm committed Oct 22, 2024
1 parent 539add6 commit 91e1cc2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/nse/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def main(
grading: bool,
) -> None:
if experiment.supervised:
logging.warning(f'running supervised experiment')
logging.warning('running supervised experiment')
if foam:
logging.info(f'FOAM: {experiment.foam.name}')
logging.info(f'NU: {experiment.nu:.3E}')
Expand Down
5 changes: 3 additions & 2 deletions src/nse/model/experiments/foam.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,9 @@ def main():
ys = Axis('y', 0, 2)
m = Grid(xs.arrange(step, True), ys.arrange(step, True))

from nse.model.experiments import EXPERIMENTS
for experiment in EXPERIMENTS.keys():
# pylint: disable=import-outside-toplevel,cyclic-import
from src.nse.model.experiments import EXPERIMENTS
for experiment in EXPERIMENTS:
f = Foam(
experiment,
xs,
Expand Down

0 comments on commit 91e1cc2

Please sign in to comment.