Skip to content

Commit 1ed1ebe

Browse files
committed
Linting.
1 parent 07e5961 commit 1ed1ebe

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

domdf_python_tools/compat.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@
5151
# stdlib
5252
import importlib.resources as importlib_resources
5353

54-
5554
if sys.version_info[:2] < (3, 8): # pragma: no cover (>=py38)
5655
# 3rd party
5756
import importlib_metadata # type: ignore

domdf_python_tools/import_tools.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
# 3rd party
5454
from typing_extensions import Literal
5555

56+
# this package
5657
from domdf_python_tools.compat import importlib_metadata
5758

5859
__all__ = ["discover"]

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
colorama>=0.4.3
22
deprecation>=2.1.0
3-
importlib_resources>=3.0.0; python_version < "3.7"
43
importlib_metadata>=1.5.0; python_version < "3.8"
4+
importlib_resources>=3.0.0; python_version < "3.7"
55
pydash>=4.7.4
66
typing_extensions>=3.7.4.3

0 commit comments

Comments
 (0)