Skip to content

Commit

Permalink
chore: support version in mypy (#524)
Browse files Browse the repository at this point in the history
  • Loading branch information
henryiii authored Mar 9, 2021
1 parent b10418a commit d493cea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 0 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions src/boost_histogram/version.pyi
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
version: str
version_tuple: tuple[int, int, int] | tuple[int, int, int, str, str]

0 comments on commit d493cea

Please sign in to comment.