Skip to content

Commit 29206f7

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent d7b17d9 commit 29206f7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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)