Skip to content

Commit

Permalink
Add noqa for seemingly unused imports
Browse files Browse the repository at this point in the history
Omeof Energysystem's classmethod from_datapackage is available only
after the datapackage module from oemof.tabular was imported.
  • Loading branch information
Martin committed Jul 1, 2019
1 parent ebf2cd6 commit 4bcaa30
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/oemof/tabular/examples/scripting/compute.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import oemof.tabular.tools.postprocessing as pp

# DONT REMOVE THIS LINE!
from oemof.tabular import datapackage
from oemof.tabular import datapackage # noqa

name = "dispatch"

Expand Down
2 changes: 1 addition & 1 deletion src/oemof/tabular/examples/scripting/postprocessing.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from oemof.solph import EnergySystem, Model

from oemof.tabular.facades import TYPEMAP
import oemof.tabular.datapackage
import oemof.tabular.datapackage # noqa
import oemof.tabular.tools.postprocessing as pp


Expand Down

0 comments on commit 4bcaa30

Please sign in to comment.