Skip to content

Commit

Permalink
'[pre-commit.ci 🤖] Apply code format tools to PR'
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Nov 6, 2023
1 parent 1ca0105 commit f898dc3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: c4a0b883114b00d8d76b479c820ce7950211c99b # frozen: v4.5.0
rev: c4a0b883114b00d8d76b479c820ce7950211c99b # frozen: v4.5.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
Expand All @@ -17,7 +17,7 @@ repos:
- id: check-added-large-files

- repo: https://github.com/psf/black
rev: 744d23b34800c06e10272149b70752396e90eeb8 # frozen: 23.10.1
rev: 744d23b34800c06e10272149b70752396e90eeb8 # frozen: 23.10.1
hooks:
- id: black

Expand All @@ -34,7 +34,7 @@ repos:
- id: blacken-docs

- repo: https://github.com/asottile/pyupgrade
rev: 1bbebc88c6925a4e56fd5446b830b12c38c1c24a # frozen: v3.15.0
rev: 1bbebc88c6925a4e56fd5446b830b12c38c1c24a # frozen: v3.15.0
hooks:
- id: pyupgrade
args: [--py38-plus]
Expand Down
2 changes: 1 addition & 1 deletion numpydoc/tests/test_numpydoc.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def test_mangle_docstrings_inherited_class_members():
mangle_docstrings(app, "class", "pathlib.PosixPath", PosixPath, {}, lines)
lines = [x.strip() for x in lines]
assert "samefile" in lines
app.config.numpydoc_show_inherited_class_members = defaultdict(lambda: False)
app.config.numpydoc_show_inherited_class_members = defaultdict(bool)
lines = p.split("\n")
mangle_docstrings(app, "class", "pathlib.PosixPath", PosixPath, {}, lines)
lines = [x.strip() for x in lines]
Expand Down

0 comments on commit f898dc3

Please sign in to comment.