Skip to content

[pre-commit.ci] pre-commit autoupdate #610

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ repos:
hooks:
- id: sort-all
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.4.2
rev: v0.4.9
hooks:
- id: ruff-format
- id: ruff
Expand Down Expand Up @@ -63,7 +63,7 @@ repos:
- id: nbstripout
exclude: (docs)
- repo: https://github.com/codespell-project/codespell
rev: v2.2.6
rev: v2.3.0
hooks:
- id: codespell
additional_dependencies: [tomli]
Expand Down
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@


# Linkcode, based on numpy doc/source/conf.py
def linkcode_resolve(domain: str, info: dict[str, str]) -> str: # noqa: C901, PLR0912
def linkcode_resolve(domain: str, info: dict[str, str]) -> str: # noqa: C901
"""Determine the URL corresponding to Python object."""
if domain != "py":
return None
Expand Down
2 changes: 1 addition & 1 deletion src/_pytask/warnings_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class WarningReport(NamedTuple):


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