FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[pre-commit.ci] pre-commit autoupdate by pre-commit-ci[bot] · Pull Request #152 · domdfcoding/domdf_python_tools · GitHub

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .py  (3) .yaml  (1) All 2 file types selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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

Back | FazBrowse Home | New Git URL