Skip to content

Commit e00f981

Browse files
committed
Remove incomplete start_dir attribute from type annotation
1 parent 91bd2ed commit e00f981

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Changelog — repro-zipfile
22

3+
## v0.4.1 (Unreleased)
4+
- Removed the incomplete type annotation for `start_dir` attribute on `ReproducibleZipFile`.
5+
36
## v0.4.0 (2025-03-20)
47

58
- Adds support for type checking per [PEP 561 specification](https://typing.python.org/en/latest/spec/distributing.html#packaging-typed-libraries). This is implemented through a `.pyi` stubs file. ([Issue #12](https://github.com/drivendataorg/repro-zipfile/issues/12), [PR #17](https://github.com/drivendataorg/repro-zipfile/pull/17))

repro_zipfile/__init__.pyi

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from zipfile import ZipFile, ZipInfo
22

3-
from _typeshed import Incomplete, SizedBuffer, StrPath
3+
from _typeshed import SizedBuffer, StrPath
44

55
__all__ = ["date_time", "file_mode", "dir_mode", "ReproducibleZipFile"]
66
__version__: str
@@ -24,5 +24,4 @@ class ReproducibleZipFile(ZipFile):
2424
compress_type: int | None = None,
2525
compresslevel: int | None = None,
2626
) -> None: ...
27-
start_dir: Incomplete
2827
def mkdir(self, zinfo_or_directory_name: str | ZipInfo, mode: int = 511) -> None: ...

0 commit comments

Comments
 (0)