Skip to content

Commit

Permalink
Address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
coldino committed Aug 3, 2023
1 parent a10a9c2 commit 5f0328e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dataclasses_struct/dataclass.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ def from_packed(cls, data: bytes) -> cls_type:

def _make_class(
cls: type, endian: str, allow_native: bool, validate: bool
) -> type[DataclassStructProtocol]:
) -> Type[DataclassStructProtocol]:
cls_annotations = get_type_hints(cls, include_extras=True)
struct_format = [endian]
fieldtypes = []
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ readme = "README.md"
homepage = "https://github.com/harrymander/dataclasses-struct"
repository = "https://github.com/harrymander/dataclasses-struct"
documentation = "https://github.com/harrymander/dataclasses-struct/blob/main/README.md#usage"
packages = [{ include = "dataclasses_struct" }, { include = "dataclasses_struct/py.typed" }]
packages = [{ include = "dataclasses_struct" }]

[tool.poetry.dependencies]
python = "^3.8.1"
Expand Down

0 comments on commit 5f0328e

Please sign in to comment.