Skip to content

Commit 02c77c1

Browse files
committed
Revert "chore: Prevent Ruff from moving imports under TYPE_CHECKING"
This reverts commit 3e148dc.
1 parent 959116d commit 02c77c1

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/griffe/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
to generate API documentation or find breaking changes in your API.
66
"""
77

8+
from __future__ import annotations
9+
810
from griffe.agents.nodes import ObjectNode
911
from griffe.dataclasses import Attribute, Class, Docstring, Function, Module, Object
1012
from griffe.diff import find_breaking_changes
@@ -14,7 +16,7 @@
1416
from griffe.loader import load
1517
from griffe.logger import get_logger
1618

17-
__all__ = [
19+
__all__: list[str] = [
1820
"Attribute",
1921
"Class",
2022
"Docstring",

0 commit comments

Comments
 (0)