Skip to content

Commit 925678c

Browse files
committed
Linting.
1 parent 541471d commit 925678c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

domdf_python_tools/bases.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ def as_integer_ratio(self) -> Tuple[int, int]:
389389

390390
return float(self).as_integer_ratio()
391391

392-
def hex(self) -> str: # noqa: A003
392+
def hex(self) -> str: # noqa: A003 # pylint: disable=redefined-builtin
393393
"""
394394
Returns the hexadecimal (base 16) representation of the float.
395395
"""

domdf_python_tools/compat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757

5858
if sys.version_info[:2] < (3, 8): # pragma: no cover (>=py38)
5959
# 3rd party
60-
import importlib_metadata # type: ignore
60+
import importlib_metadata
6161
else: # pragma: no cover (<py38)
6262
# stdlib
6363
import importlib.metadata as importlib_metadata

0 commit comments

Comments
 (0)