ruff: Fix TCH005 Found empty type-checking block.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2024-02-29 16:58:36 -08:00 committed by Tim Abbott
parent c0e88ad0ea
commit 2655fe7182
1 changed files with 1 additions and 4 deletions

View File

@ -1,5 +1,5 @@
import re import re
from typing import TYPE_CHECKING, Any, Dict, List, Tuple from typing import Any, Dict, List, Tuple
from django.conf import settings from django.conf import settings
from django.core.exceptions import ValidationError from django.core.exceptions import ValidationError
@ -34,9 +34,6 @@ from zerver.lib.validator import (
if settings.ZILENCER_ENABLED: if settings.ZILENCER_ENABLED:
pass pass
if TYPE_CHECKING:
pass
class ValidatorTestCase(ZulipTestCase): class ValidatorTestCase(ZulipTestCase):
def test_check_string(self) -> None: def test_check_string(self) -> None: