Skip to content

Commit 5c73e12

Browse files
[pre-commit.ci] pre-commit autoupdate (#610)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Tobias Raabe <[email protected]>
1 parent 9eb2245 commit 5c73e12

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ repos:
2929
hooks:
3030
- id: sort-all
3131
- repo: https://github.com/astral-sh/ruff-pre-commit
32-
rev: v0.4.2
32+
rev: v0.4.9
3333
hooks:
3434
- id: ruff-format
3535
- id: ruff
@@ -63,7 +63,7 @@ repos:
6363
- id: nbstripout
6464
exclude: (docs)
6565
- repo: https://github.com/codespell-project/codespell
66-
rev: v2.2.6
66+
rev: v2.3.0
6767
hooks:
6868
- id: codespell
6969
additional_dependencies: [tomli]

docs/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102

103103

104104
# Linkcode, based on numpy doc/source/conf.py
105-
def linkcode_resolve(domain: str, info: dict[str, str]) -> str: # noqa: C901, PLR0912
105+
def linkcode_resolve(domain: str, info: dict[str, str]) -> str: # noqa: C901
106106
"""Determine the URL corresponding to Python object."""
107107
if domain != "py":
108108
return None

src/_pytask/warnings_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class WarningReport(NamedTuple):
3535

3636

3737
@functools.lru_cache(maxsize=50)
38-
def parse_warning_filter( # noqa: PLR0912, C901
38+
def parse_warning_filter( # noqa: C901
3939
arg: str, *, escape: bool
4040
) -> tuple[warnings._ActionKind, str, type[Warning], str, int]:
4141
"""Parse a warnings filter string.

0 commit comments

Comments
 (0)