Skip to content

Commit

Permalink
Remove some F401
Browse files Browse the repository at this point in the history
  • Loading branch information
relf committed Feb 21, 2024
1 parent 45a75c7 commit 4490cbe
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 11 deletions.
3 changes: 1 addition & 2 deletions smt/tests/test_all.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from collections import OrderedDict

from smt.problems import TensorProduct
from smt.sampling_methods import LHS, FullFactorial
from smt.sampling_methods import LHS

from smt.utils.sm_test_case import SMTestCase
from smt.utils.silence import Silence
Expand All @@ -26,7 +26,6 @@
KPLSK,
GEKPLS,
GENN,
MGP,
DesignSpace,
)

Expand Down
2 changes: 0 additions & 2 deletions smt/tests/test_array_outputs.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,8 @@

from smt.utils.sm_test_case import SMTestCase
from smt.utils.silence import Silence
from smt.surrogate_models import QP, KRG
from smt.examples.rans_crm_wing.rans_crm_wing import (
get_rans_crm_wing,
plot_rans_crm_wing,
)


Expand Down
2 changes: 1 addition & 1 deletion smt/tests/test_derivs.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
from smt.applications import MFK

try:
from smt.surrogate_models import IDW, RBF, RMTC, RMTB
from smt.surrogate_models import RBF, RMTC, RMTB

COMPILED_AVAILABLE = True
except ImportError:
Expand Down
5 changes: 2 additions & 3 deletions smt/tests/test_extrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,18 @@

import numpy as np
import unittest
import inspect

from collections import OrderedDict

from smt.problems import Sphere, TensorProduct
from smt.problems import Sphere
from smt.sampling_methods import LHS
from smt.utils.design_space import DesignSpace

from smt.utils.sm_test_case import SMTestCase
from smt.utils.silence import Silence

try:
from smt.surrogate_models import IDW, RBF, RMTC, RMTB
from smt.surrogate_models import RMTC, RMTB

COMPILED_AVAILABLE = True
except ImportError:
Expand Down
2 changes: 1 addition & 1 deletion smt/tests/test_high_dim.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
from smt.surrogate_models import LS, QP, KPLS, KRG

try:
from smt.surrogate_models import IDW, RBF, RMTC, RMTB
from smt.surrogate_models import IDW, RBF

COMPILED_AVAILABLE = True
except ImportError:
Expand Down
2 changes: 0 additions & 2 deletions smt/tests/test_kpls_auto.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,8 @@
This package is distributed under New BSD license.
"""

import numpy as np
import unittest
import inspect
from sys import platform

from collections import OrderedDict

Expand Down

0 comments on commit 4490cbe

Please sign in to comment.