Skip to content

Commit 2357041

Browse files
committed
Fix typing
1 parent 27ad3b2 commit 2357041

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

exasol/toolbox/config.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import inspect
22
from typing import (
33
Annotated,
4+
Any,
45
)
56

67
from pydantic import (
@@ -18,7 +19,7 @@
1819
from exasol.toolbox.util.version import Version
1920

2021

21-
def validate_plugin_hook(plugin_class: object):
22+
def validate_plugin_hook(plugin_class: type[Any]):
2223
"""
2324
Checks methods in a class for at least one specific pluggy @hookimpl marker
2425
and verifies it is specified in `exasol.toolbox.nox.plugins.NoxTasks`.

0 commit comments

Comments
 (0)