Skip to content

Commit 40a4ead

Browse files
committed
Linting.
1 parent a04d118 commit 40a4ead

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

domdf_python_tools/stringlist.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,12 @@ class StringList(List[str]):
135135
Can only be used when the indent is ``'\\t'`` or ``'␣'``.
136136
"""
137137

138-
def __init__(self, iterable: Iterable[String] = (), convert_indents: bool = False) -> None:
138+
def __init__(
139+
self,
140+
iterable: Iterable[String] = (),
141+
convert_indents: bool = False,
142+
) -> None:
143+
139144
if isinstance(iterable, str):
140145
iterable = iterable.split('\n')
141146

domdf_python_tools/words.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
# this package
4747
import domdf_python_tools
4848
from domdf_python_tools.compat import importlib_resources
49+
from domdf_python_tools.doctools import prettify_docstrings
4950

5051
__all__ = [
5152
"greek_uppercase",
@@ -74,9 +75,6 @@
7475
"Plural",
7576
]
7677

77-
# this package
78-
from domdf_python_tools.doctools import prettify_docstrings
79-
8078
ascii_digits = "0123456789"
8179
"""
8280
ASCII numbers.

0 commit comments

Comments
 (0)