Skip to content

Commit 009d903

Browse files
committed
chore: Make import lazy
1 parent 4d0a9ee commit 009d903

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

duties.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@
1818
from pysource_codegen import generate
1919
from pysource_minimize import minimize
2020

21-
from griffe import visit
22-
2321
if TYPE_CHECKING:
2422
from collections.abc import Callable, Iterator
2523

@@ -539,6 +537,8 @@ def fuzz(
539537
min_seed: Minimum value for the seeds range.
540538
max_seed: Maximum value for the seeds range.
541539
"""
540+
from griffe import visit # noqa: PLC0415
541+
542542
warnings.simplefilter("ignore", SyntaxWarning)
543543

544544
def fails(code: str, filepath: Path) -> bool:

0 commit comments

Comments
 (0)