Skip to content

Commit

Permalink
Fix Pylint syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
lbianchi-lbl committed Sep 5, 2024
1 parent adf51e8 commit fda66b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion idaes/core/util/convergence/convergence_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -881,7 +881,7 @@ def save_convergence_statistics(
s.to_json(f)
if dmf is not None:
# this import will trigger the DMF deprecation message
# pylint: ignore-next=import-outside-toplevel,unused-import
# pylint: disable-next-next=import-outside-toplevel,unused-import
import idaes.core.dmf

Check notice on line 885 in idaes/core/util/convergence/convergence_base.py

View workflow job for this annotation

GitHub Actions / Pylint

C0415 (import-outside-toplevel)

Import outside toplevel (idaes.core.dmf)

Check warning on line 885 in idaes/core/util/convergence/convergence_base.py

View workflow job for this annotation

GitHub Actions / Pylint

W0611 (unused-import)

Unused import idaes.core.dmf

# this block should be removed once idaes.core.dmf is removed completely
Expand Down

0 comments on commit fda66b0

Please sign in to comment.