Skip to content

Commit

Permalink
tests: Sort imports.
Browse files Browse the repository at this point in the history
  • Loading branch information
bje- committed Oct 24, 2024
1 parent 06fdeeb commit bfcc2ca
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 11 deletions.
3 changes: 1 addition & 2 deletions tests/test_context.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,9 @@

import unittest

import nemo
import numpy as np
import pandas as pd

import nemo
from nemo import regions


Expand Down
4 changes: 2 additions & 2 deletions tests/test_generators.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@

import numpy as np
import pandas as pd
import tcpserver

from nemo import costs, generators, storage

import tcpserver

PORT = 9998
battery_storage = storage.BatteryStorage(800, "Li-ion store")
hydrogen_storage = storage.HydrogenStorage(1000, "H2 store")
Expand Down
4 changes: 2 additions & 2 deletions tests/test_nem.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
import importlib
import unittest

import tcpserver

from nemo import nem

import tcpserver

PORT = 9998


Expand Down
3 changes: 1 addition & 2 deletions tests/test_penalties.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,8 @@

import unittest

import numpy as np

import nemo
import numpy as np
from nemo import generators, penalties, regions, storage
from nemo.penalties import reasons
from nemo.polygons import WILDCARD
Expand Down
1 change: 0 additions & 1 deletion tests/test_sim.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

import numpy as np
import pandas as pd

from nemo import configfile, generators, sim, storage
from nemo.context import Context

Expand Down
1 change: 0 additions & 1 deletion tests/test_storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
import unittest

import pandas as pd

from nemo import configfile, generators, storage
from nemo.polygons import WILDCARD

Expand Down
1 change: 0 additions & 1 deletion tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
from pathlib import Path

import pytest

from nemo import context, scenarios, sim, utils


Expand Down

0 comments on commit bfcc2ca

Please sign in to comment.