diff --git a/setup.cfg b/setup.cfg index ab88e429..116e27c9 100644 --- a/setup.cfg +++ b/setup.cfg @@ -99,9 +99,6 @@ warn_return_any = True no_implicit_reexport = True strict_equality = True -[mypy-boost_histogram.version] -ignore_missing_imports = True - [check-manifest] ignore = .all-contributorsrc diff --git a/src/boost_histogram/version.pyi b/src/boost_histogram/version.pyi new file mode 100644 index 00000000..5bb2b22f --- /dev/null +++ b/src/boost_histogram/version.pyi @@ -0,0 +1,2 @@ +version: str +version_tuple: tuple[int, int, int] | tuple[int, int, int, str, str]