Skip to content

Commit 2364b40

Browse files
committed
update dev deps
1 parent e702630 commit 2364b40

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

documentation/reference/mutablezip/index.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
Add delete (via remove_file) and update (via writestr and write methods)
1919
To enable update features use MutableZipFile with the 'with statement',
2020
Upon __exit__ (if updates were applied) a new zip file will override the
21-
exiting one with the updates
21+
exiting one with the updates.
2222

2323
#### Signature
2424

@@ -30,31 +30,31 @@ class MutableZipFile(ZipFile):
3030
mode: Literal["r", "w", "x", "a"] = "r",
3131
compression: int = ZIP_STORED,
3232
allowZip64: bool = False,
33-
): ...
33+
) -> None: ...
3434
```
3535

3636
### MutableZipFile()._closeAllTempFiles
3737

3838
[Show source in __init__.py:118](../../../mutablezip/__init__.py#L118)
3939

40-
Close all temporary files
40+
Close all temporary files.
4141

4242
#### Signature
4343

4444
```python
45-
def _closeAllTempFiles(self): ...
45+
def _closeAllTempFiles(self) -> None: ...
4646
```
4747

4848
### MutableZipFile().removeFile
4949

5050
[Show source in __init__.py:124](../../../mutablezip/__init__.py#L124)
5151

52-
Flag a file with a delete marker
52+
Flag a file with a delete marker.
5353

5454
#### Signature
5555

5656
```python
57-
def removeFile(self, path: str | PathLike[str]): ...
57+
def removeFile(self, path: str | PathLike[str]) -> None: ...
5858
```
5959

6060
### MutableZipFile().write
@@ -70,7 +70,7 @@ def write(
7070
arcname: str | PathLike[str] | None = None,
7171
compress_type: int | None = None,
7272
compresslevel: int | None = None,
73-
): ...
73+
) -> None: ...
7474
```
7575

7676
### MutableZipFile().writestr
@@ -86,5 +86,5 @@ def writestr(
8686
data: bytes | str,
8787
compress_type: int | None = None,
8888
compresslevel: int | None = None,
89-
): ...
89+
) -> None: ...
9090
```

pyproject.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,10 @@ python = "^3.8"
2424

2525
[tool.poetry.group.dev.dependencies]
2626
pytest = "^8.1.1"
27-
pylint = "^3.1.0"
2827
handsdown = "^2.1.0"
2928
coverage = "^7.4.4"
29+
ruff = "^0.3.3"
30+
pyright = "^1.1.354"
3031

3132
[build-system]
3233
requires = ["poetry-core"]

0 commit comments

Comments
 (0)