general: use 'TYPE_CHECKING = False'
This commit is contained in:
parent
aed190a9a8
commit
7c0c875ea0
2 changed files with 3 additions and 2 deletions
|
|
@ -6,10 +6,10 @@
|
|||
from __future__ import annotations
|
||||
|
||||
import sys
|
||||
from typing import TYPE_CHECKING
|
||||
|
||||
import wwvb
|
||||
|
||||
TYPE_CHECKING = False
|
||||
if TYPE_CHECKING:
|
||||
from collections.abc import Generator
|
||||
|
||||
|
|
|
|||
|
|
@ -9,14 +9,15 @@ from __future__ import annotations
|
|||
import datetime
|
||||
import functools
|
||||
from tkinter import Canvas, TclError, Tk
|
||||
from typing import TYPE_CHECKING, Any
|
||||
|
||||
import click
|
||||
|
||||
import wwvb
|
||||
|
||||
TYPE_CHECKING = False
|
||||
if TYPE_CHECKING:
|
||||
from collections.abc import Generator
|
||||
from typing import Any
|
||||
|
||||
|
||||
@functools.cache
|
||||
|
|
|
|||
Loading…
Reference in a new issue