Skip to content

Commit 157def4

Browse files
committed
Removing unused imports.
1 parent 9e0b7e5 commit 157def4

File tree

6 files changed

+6
-7
lines changed

6 files changed

+6
-7
lines changed

domdf_python_tools/bases.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@
4343
MutableSequence,
4444
Optional,
4545
SupportsFloat,
46-
SupportsRound,
4746
Tuple,
4847
Type,
4948
TypeVar,

tests/discover_demo_module/submodule_b.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# stdlib
2-
from math import ceil
3-
from string import ascii_letters
2+
from math import ceil # noqa: F401
3+
from string import ascii_letters # noqa: F401
44

55

66
class Bob:

tests/test_dates.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,9 @@ def test_utc_offset_no_pytz():
151151
ImportError,
152152
match=r"'get_utc_offset' requires pytz \(.*\), but it could not be imported",
153153
):
154+
154155
# this package
155-
from domdf_python_tools.dates import get_utc_offset
156+
from domdf_python_tools.dates import get_utc_offset # noqa: F401
156157

157158

158159
# TODO: Finish

tests/test_pagesizes/test_units.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# stdlib
22
import re
33
from operator import floordiv, truediv
4-
from typing import Iterable, List, Union
4+
from typing import List, Union
55

66
# 3rd party
77
import pytest

tests/test_testing.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
only_windows,
2626
with_fixed_datetime
2727
)
28-
from domdf_python_tools.testing.selectors import _make_version
2928
from domdf_python_tools.utils import strtobool
3029

3130

tests/test_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
from domdf_python_tools import utils
2222
from domdf_python_tools.testing import testing_boolean_values
2323
from domdf_python_tools.typing import HasHead
24-
from domdf_python_tools.utils import deprecated, head, trim_precision
24+
from domdf_python_tools.utils import head, trim_precision
2525

2626

2727
def test_pyversion():

0 commit comments

Comments
 (0)