From 9ef075e60cd8cff2e2485e5bc35e7155611a8b52 Mon Sep 17 00:00:00 2001 From: kcornw <141114704+kcornw@users.noreply.github.com> Date: Mon, 23 Dec 2024 13:41:41 +0800 Subject: [PATCH] Remove unnecessary assertion during `recheck` Fix #15795 --- mypy/dmypy_server.py | 1 - 1 file changed, 1 deletion(-) diff --git a/mypy/dmypy_server.py b/mypy/dmypy_server.py index 10ff07451461..57adf20dcd16 100644 --- a/mypy/dmypy_server.py +++ b/mypy/dmypy_server.py @@ -403,7 +403,6 @@ def cmd_recheck( sources, remove, update, explicit_export_types=export_types ) else: - assert remove is None and update is None messages = self.fine_grained_increment_follow_imports( sources, explicit_export_types=export_types )