mirror of https://github.com/zulip/zulip.git
ruff: Fix TCH005 Found empty type-checking block.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
c0e88ad0ea
commit
2655fe7182
|
@ -1,5 +1,5 @@
|
|||
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.core.exceptions import ValidationError
|
||||
|
@ -34,9 +34,6 @@ from zerver.lib.validator import (
|
|||
if settings.ZILENCER_ENABLED:
|
||||
pass
|
||||
|
||||
if TYPE_CHECKING:
|
||||
pass
|
||||
|
||||
|
||||
class ValidatorTestCase(ZulipTestCase):
|
||||
def test_check_string(self) -> None:
|
||||
|
|
Loading…
Reference in New Issue