Skip to content

Commit

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

updates:
- [github.com/astral-sh/ruff-pre-commit: 75b98813cfb7e663870a28c74366a1e99d7bfe79 → 89c421dff2e1026ba12cdb9ebd731f4a83aa8021](astral-sh/ruff-pre-commit@75b9881...89c421d)

* '[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] authored Jan 6, 2025
1 parent dec2b9e commit e4a5554
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ repos:
args: [--prose-wrap=preserve]

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "75b98813cfb7e663870a28c74366a1e99d7bfe79" # frozen: v0.6.9
rev: "89c421dff2e1026ba12cdb9ebd731f4a83aa8021" # frozen: v0.8.6
hooks:
- id: ruff
args: ["--fix", "--show-fixes", "--exit-non-zero-on-fix"]
Expand Down
4 changes: 2 additions & 2 deletions numpydoc/tests/test_docscrape.py
Original file line number Diff line number Diff line change
Expand Up @@ -1596,8 +1596,8 @@ def __init__(self, a, b):
self.numpydoc_validation_overrides = dict()

xref_aliases_complete = deepcopy(DEFAULT_LINKS)
for key in xref_aliases:
xref_aliases_complete[key] = xref_aliases[key]
for key, val in xref_aliases.items():
xref_aliases_complete[key] = val
config = Config(xref_aliases, xref_aliases_complete)
app = namedtuple("config", "config")(config)
update_config(app)
Expand Down

0 comments on commit e4a5554

Please sign in to comment.