Skip to content

Commit d493cea

Browse files
authored
chore: support version in mypy (#524)
1 parent b10418a commit d493cea

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

setup.cfg

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,6 @@ warn_return_any = True
9999
no_implicit_reexport = True
100100
strict_equality = True
101101

102-
[mypy-boost_histogram.version]
103-
ignore_missing_imports = True
104-
105102
[check-manifest]
106103
ignore =
107104
.all-contributorsrc

src/boost_histogram/version.pyi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
version: str
2+
version_tuple: tuple[int, int, int] | tuple[int, int, int, str, str]

0 commit comments

Comments
 (0)