Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#513)
Browse files Browse the repository at this point in the history
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/pre-commit/pre-commit-hooks: f71fa2c1f9cf5cb705f73dffe4b21f7c61470ba9 → c4a0b883114b00d8d76b479c820ce7950211c99b](pre-commit/pre-commit-hooks@f71fa2c...c4a0b88)
- [github.com/psf/black: e87737140f32d3cd7c44ede75f02dcd58e55820e → 744d23b34800c06e10272149b70752396e90eeb8](psf/black@e877371...744d23b)
- [github.com/asottile/pyupgrade: ffb735bf0dc786a3a1e6b08043440b0bdef5bef8 → 1bbebc88c6925a4e56fd5446b830b12c38c1c24a](asottile/pyupgrade@ffb735b...1bbebc8)

* '[pre-commit.ci 🤖] Apply code format tools to PR'

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] committed Nov 6, 2023
1 parent 80a8708 commit 017e74a
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: f71fa2c1f9cf5cb705f73dffe4b21f7c61470ba9 # frozen: v4.4.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: e87737140f32d3cd7c44ede75f02dcd58e55820e # frozen: 23.9.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: ffb735bf0dc786a3a1e6b08043440b0bdef5bef8 # frozen: v3.13.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 017e74a

Please sign in to comment.