File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 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]
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" ]
Original file line number Diff line number Diff line change @@ -777,7 +777,7 @@ def check_type_internal(
777777 if isclass (origin_type ):
778778 if not isinstance (value , origin_type ):
779779 raise TypeCheckError (f"is not an instance of { qualified_name (origin_type )} " )
780- elif type (origin_type ) is str :
780+ elif type (origin_type ) is str : # 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" ,
You can’t perform that action at this time.
0 commit comments