Skip to content

Commit

Permalink
Add Static Typing Support MyPy (#35)
Browse files Browse the repository at this point in the history
* Add py.typed

* Bump version 1.4.3 -> 1.4.4

* Update CHANGELOG 1.4.4
  • Loading branch information
justincdavis authored Feb 22, 2024
1 parent c4dcedc commit 20342f1
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 5 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 1.4.4 (02-21-2024)

### Fixed

- Package gets detected as being fully typed.

## 1.4.3 (02-10-2024)

### Added
Expand Down
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
include src/oakutils/py.typed
include src/oakutils/blobs/models/shave1/*.blob
include src/oakutils/blobs/models/shave2/*.blob
include src/oakutils/blobs/models/shave3/*.blob
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
project = "oakutils"
copyright = "2023, Justin Davis"
author = "Justin Davis"
version = "1.4.3"
version = "1.4.4"

assert version == oakutils.__version__ # Make sure version is consistent

Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "oakutils"
version = "1.4.3"
version = "1.4.4"
authors = [
{name="Justin Davis", email="davisjustin302@gmail.com"},
]
Expand Down Expand Up @@ -99,7 +99,7 @@ dev = [
]

[tool.bumpver]
current_version = "1.4.3"
current_version = "1.4.4"
version_pattern = "MAJOR.MINOR.PATCH"
commit_message = "Bump version {old_version} -> {new_version}"
commit = true
Expand All @@ -115,7 +115,7 @@ push = false
where = ["src"]

[tool.setuptools.package-data]
oakutils = ["src/*.blob"]
oakutils = ["src/*.blob", "src/oakutils/py.typed"]

[tool.ruff]
fix = true
Expand Down
2 changes: 1 addition & 1 deletion src/oakutils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,6 @@ def set_log_level(level: str) -> None:
"tools",
"vpu",
]
__version__ = "1.4.3"
__version__ = "1.4.4"

_log.info(f"Initialized oakutils with version {__version__}")
Empty file added src/oakutils/py.typed
Empty file.

0 comments on commit 20342f1

Please sign in to comment.