Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita6d30b0

Browse files
committed
Updated pre-commit modules
1 parent9aa873a commita6d30b0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

‎.pre-commit-config.yaml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ repos:
1414
-id:trailing-whitespace
1515

1616
-repo:https://github.com/astral-sh/ruff-pre-commit
17-
rev:v0.0.282
17+
rev:v0.0.284
1818
hooks:
1919
-id:ruff
2020
args:[--fix, --show-fixes]
@@ -26,7 +26,7 @@ repos:
2626
exclude:"^tests/mypy/negative.py"
2727

2828
-repo:https://github.com/pre-commit/mirrors-mypy
29-
rev:v1.4.1
29+
rev:v1.5.0
3030
hooks:
3131
-id:mypy
3232
additional_dependencies:[ "typing_extensions" ]

‎src/typeguard/_checkers.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -777,7 +777,7 @@ def check_type_internal(
777777
ifisclass(origin_type):
778778
ifnotisinstance(value,origin_type):
779779
raiseTypeCheckError(f"is not an instance of{qualified_name(origin_type)}")
780-
eliftype(origin_type)isstr:
780+
eliftype(origin_type)isstr:# noqa: E721
781781
warnings.warn(
782782
f"Skipping type check against{origin_type!r}; this looks like a "
783783
f"string-form forward reference imported from another module",

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp