Skip to content

Commit 3e148dc

Browse files
committed
chore: Prevent Ruff from moving imports under TYPE_CHECKING
1 parent 1352a65 commit 3e148dc

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/griffe/__init__.py

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

8-
from __future__ import annotations
9-
108
from griffe.agents.nodes import ObjectNode
119
from griffe.dataclasses import Attribute, Class, Docstring, Function, Module, Object
1210
from griffe.diff import find_breaking_changes
@@ -16,7 +14,7 @@
1614
from griffe.loader import load
1715
from griffe.logger import get_logger
1816

19-
__all__: list[str] = [
17+
__all__ = [
2018
"Attribute",
2119
"Class",
2220
"Docstring",

0 commit comments

Comments
 (0)