Skip to content

Commit 6a4df2b

Browse files
committed
error
1 parent 2044720 commit 6a4df2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mypy/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1359,7 +1359,7 @@ def set_strict_flags() -> None:
13591359
parser.error("Can only find occurrences of class members.")
13601360
if len(_find_occurrences) != 2:
13611361
parser.error("Can only find occurrences of non-nested class members.")
1362-
state.find_occurrences = _find_occurrences # type: ignore[assignment]
1362+
state.find_occurrences = _find_occurrences
13631363

13641364
# Set reports.
13651365
for flag, val in vars(special_opts).items():

0 commit comments

Comments
 (0)