Skip to content

Commit

Permalink
chore(release): 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Ravencentric committed Jul 30, 2024
1 parent bb76f9b commit 2717295
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "archivefile"
version = "0.4.0"
version = "1.0.0"
description = "Unified interface for tar, zip, sevenzip, and rar files"
authors = ["Ravencentric <[email protected]>"]
readme = "README.md"
Expand Down
4 changes: 4 additions & 0 deletions src/archivefile/_adapters/_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@


class BaseArchiveAdapter(Protocol):
"""
A base protocol that can be inherited from to implement more adapters.
Refer to `src/archivefile/_core.py` for documentation of every method and property.
"""
# fmt: off
@overload
def __init__(self, file: StrPath, mode: OpenArchiveMode = "r", *, password: str | None = None, compression_type: CompressionType | None = None, compression_level: CompressionLevel | None = None, **kwargs: Any) -> None: ...
Expand Down
2 changes: 1 addition & 1 deletion src/archivefile/_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def __init__(
file : StrPath
Path to the archive file.
mode : OpenArchiveMode, optional
Specifies the mode for opening the archive file.
Mode for opening the archive file.
password : str, optional
Password for encrypted archive files.
compression_type : CompressionType, optional
Expand Down

0 comments on commit 2717295

Please sign in to comment.