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
|
from __future__ import annotations
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
from typing import TYPE_CHECKING
|
|
||||||
|
|
||||||
import wwvb
|
import wwvb
|
||||||
|
|
||||||
|
TYPE_CHECKING = False
|
||||||
if TYPE_CHECKING:
|
if TYPE_CHECKING:
|
||||||
from collections.abc import Generator
|
from collections.abc import Generator
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -9,14 +9,15 @@ from __future__ import annotations
|
||||||
import datetime
|
import datetime
|
||||||
import functools
|
import functools
|
||||||
from tkinter import Canvas, TclError, Tk
|
from tkinter import Canvas, TclError, Tk
|
||||||
from typing import TYPE_CHECKING, Any
|
|
||||||
|
|
||||||
import click
|
import click
|
||||||
|
|
||||||
import wwvb
|
import wwvb
|
||||||
|
|
||||||
|
TYPE_CHECKING = False
|
||||||
if TYPE_CHECKING:
|
if TYPE_CHECKING:
|
||||||
from collections.abc import Generator
|
from collections.abc import Generator
|
||||||
|
from typing import Any
|
||||||
|
|
||||||
|
|
||||||
@functools.cache
|
@functools.cache
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue