Skip to content

Commit

Permalink
remove assert
Browse files Browse the repository at this point in the history
  • Loading branch information
hauntsaninja committed Jun 27, 2023
1 parent 558b5c3 commit 1faca09
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion mypy/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -1337,7 +1337,6 @@ def set_strict_flags() -> None:
# Set build flags.
if special_opts.find_occurrences:
_find_occurrences = tuple(special_opts.find_occurrences.split("."))
assert _find_occurrences is not None
if len(_find_occurrences) < 2:
parser.error("Can only find occurrences of class members.")
if len(_find_occurrences) != 2:
Expand Down

0 comments on commit 1faca09

Please sign in to comment.