Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ repos:
- id: reformat-pyproject

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.4.0
rev: v6.0.0
hooks:
- id: check-added-large-files
- id: check-ast
Expand Down Expand Up @@ -64,21 +64,21 @@ repos:
- id: rst-inline-touching-normal

- repo: https://github.com/python-formate/pyupgrade
rev: bbe3007
rev: v3.3.0
hooks:
- id: pyupgrade
args:
- --py37-plus
- --keep-runtime-typing

- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.5.1
rev: v1.5.6
hooks:
- id: remove-crlf
- id: forbid-crlf

- repo: https://github.com/python-formate/snippet-fmt
rev: v0.1.5
rev: v0.2.0
hooks:
- id: snippet-fmt

Expand Down
2 changes: 0 additions & 2 deletions domdf_python_tools/paths.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,6 @@ def maybe_make(directory: PathLike, mode: int = 0o777, parents: bool = False):
:no-default parents:

.. versionchanged:: 1.6.0 Removed the ``'exist_ok'`` option, since it made no sense in this context.

"""

if not isinstance(directory, pathlib.Path):
Expand Down Expand Up @@ -455,7 +454,6 @@ def maybe_make(

This will fail silently if a file with the same name already exists.
This appears to be due to the behaviour of :func:`os.mkdir`.

"""

try:
Expand Down
1 change: 0 additions & 1 deletion domdf_python_tools/terminal.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@ def interrupt() -> None:

>>> interrupt()
(Press Ctrl-C to quit at any time)

"""

print(f"(Press Ctrl-{'C' if os.name == 'nt' else 'D'} to quit at any time)")
Expand Down
1 change: 0 additions & 1 deletion domdf_python_tools/words.py
Original file line number Diff line number Diff line change
Expand Up @@ -673,7 +673,6 @@ class PluralPhrase(NamedTuple):
'The farmer has 2 cows.'

.. _valid syntax: https://docs.python.org/3/library/string.html#formatstrings

"""

template: str
Expand Down
Loading