Skip to content

Commit

Permalink
from __future__ import annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
funkyfuture committed Nov 3, 2024
1 parent 3b5b902 commit a28bef9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions delb_reference_plugins/custom_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
# trigger the loading of plugins, yet the plugins in this module hasn't been
# registered yet

from __future__ import annotations

from _delb.plugins import plugin_manager
from _delb.plugins.core_loaders import text_loader
from _delb.typing import LoaderResult
Expand Down
3 changes: 3 additions & 0 deletions delb_reference_plugins/tei_header_properties.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# note that nothing is imported from the top-level `delb` module as it would
# trigger the loading of plugins, yet the plugins in this module hasn't been
# registered yet

from __future__ import annotations

from types import SimpleNamespace
from typing import Any, Dict

Expand Down
2 changes: 2 additions & 0 deletions test.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

from importlib import metadata
from types import SimpleNamespace

Expand Down

0 comments on commit a28bef9

Please sign in to comment.