mypy: Enable new error explicit-override.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2023-10-12 10:43:45 -07:00
committed by Anders Kaseorg
parent d257002ad8
commit a50eb2e809
223 changed files with 936 additions and 18 deletions

View File

@@ -1,3 +1,5 @@
from typing_extensions import override
from zerver.lib.test_classes import WebhookTestCase
@@ -107,5 +109,6 @@ class WordPressHookTests(WebhookTestCase):
self.assert_json_error(result, "Unknown WordPress webhook action: WordPress action")
@override
def get_body(self, fixture_name: str) -> str:
return self.webhook_fixture_data("wordpress", fixture_name, file_type="txt")