Skip to content

Commit e4a5554

Browse files
[pre-commit.ci] pre-commit autoupdate (#598)
* [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>
1 parent dec2b9e commit e4a5554

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ repos:
2525
args: [--prose-wrap=preserve]
2626

2727
- repo: https://github.com/astral-sh/ruff-pre-commit
28-
rev: "75b98813cfb7e663870a28c74366a1e99d7bfe79" # frozen: v0.6.9
28+
rev: "89c421dff2e1026ba12cdb9ebd731f4a83aa8021" # frozen: v0.8.6
2929
hooks:
3030
- id: ruff
3131
args: ["--fix", "--show-fixes", "--exit-non-zero-on-fix"]

numpydoc/tests/test_docscrape.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1596,8 +1596,8 @@ def __init__(self, a, b):
15961596
self.numpydoc_validation_overrides = dict()
15971597

15981598
xref_aliases_complete = deepcopy(DEFAULT_LINKS)
1599-
for key in xref_aliases:
1600-
xref_aliases_complete[key] = xref_aliases[key]
1599+
for key, val in xref_aliases.items():
1600+
xref_aliases_complete[key] = val
16011601
config = Config(xref_aliases, xref_aliases_complete)
16021602
app = namedtuple("config", "config")(config)
16031603
update_config(app)

0 commit comments

Comments
 (0)