Maybe fix circular import? idk it's not happening locally
This commit is contained in:
parent
bbc16fa9ad
commit
1518757a90
2 changed files with 3 additions and 5 deletions
|
@ -1,3 +0,0 @@
|
||||||
__all__ = ["generated", "resources"]
|
|
||||||
|
|
||||||
from . import generated, resources
|
|
|
@ -1,7 +1,8 @@
|
||||||
from importlib.resources import Package
|
from importlib.resources import Package
|
||||||
|
|
||||||
|
import hexdoc._export.generated
|
||||||
|
import hexdoc._export.resources
|
||||||
from hexdoc.__gradle_version__ import GRADLE_VERSION
|
from hexdoc.__gradle_version__ import GRADLE_VERSION
|
||||||
from hexdoc._export import generated, resources
|
|
||||||
from hexdoc.plugin import (
|
from hexdoc.plugin import (
|
||||||
LoadResourceDirsImpl,
|
LoadResourceDirsImpl,
|
||||||
LoadTaggedUnionsImpl,
|
LoadTaggedUnionsImpl,
|
||||||
|
@ -22,7 +23,7 @@ class HexcastingPlugin(LoadResourceDirsImpl, LoadTaggedUnionsImpl, ModVersionImp
|
||||||
@staticmethod
|
@staticmethod
|
||||||
@hookimpl
|
@hookimpl
|
||||||
def hexdoc_load_resource_dirs() -> Package | list[Package]:
|
def hexdoc_load_resource_dirs() -> Package | list[Package]:
|
||||||
return [generated, resources]
|
return [hexdoc._export.generated, hexdoc._export.resources]
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
@hookimpl
|
@hookimpl
|
||||||
|
|
Loading…
Reference in a new issue