usse/scrape/venv/lib/python3.10/site-packages/pluggy/__init__.py

34 lines
714 B
Python
Raw Normal View History

2023-12-22 14:26:01 +00:00
try:
from ._version import version as __version__
except ImportError:
# broken installation, we don't even try
# unknown only works because we do poor mans version compare
__version__ = "unknown"
__all__ = [
"__version__",
"PluginManager",
"PluginValidationError",
"HookCaller",
"HookCallError",
"HookspecOpts",
"HookimplOpts",
"HookImpl",
"HookRelay",
"HookspecMarker",
"HookimplMarker",
"Result",
]
from ._manager import PluginManager, PluginValidationError
from ._result import HookCallError, Result
from ._hooks import (
HookspecMarker,
HookimplMarker,
HookCaller,
HookRelay,
HookspecOpts,
HookimplOpts,
HookImpl,
)