Skip to content

Commit d5e06a7

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 7cadc41 commit d5e06a7

3 files changed

Lines changed: 0 additions & 4 deletions

File tree

domdf_python_tools/paths.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,6 @@ def maybe_make(directory: PathLike, mode: int = 0o777, parents: bool = False):
234234
:no-default parents:
235235
236236
.. versionchanged:: 1.6.0 Removed the ``'exist_ok'`` option, since it made no sense in this context.
237-
238237
"""
239238

240239
if not isinstance(directory, pathlib.Path):
@@ -455,7 +454,6 @@ def maybe_make(
455454
456455
This will fail silently if a file with the same name already exists.
457456
This appears to be due to the behaviour of :func:`os.mkdir`.
458-
459457
"""
460458

461459
try:

domdf_python_tools/terminal.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,6 @@ def interrupt() -> None:
118118
119119
>>> interrupt()
120120
(Press Ctrl-C to quit at any time)
121-
122121
"""
123122

124123
print(f"(Press Ctrl-{'C' if os.name == 'nt' else 'D'} to quit at any time)")

domdf_python_tools/words.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -673,7 +673,6 @@ class PluralPhrase(NamedTuple):
673673
'The farmer has 2 cows.'
674674
675675
.. _valid syntax: https://docs.python.org/3/library/string.html#formatstrings
676-
677676
"""
678677

679678
template: str

0 commit comments

Comments
 (0)