Skip to content

Commit 663c01b

Browse files
chore(pre-commit.ci): pre-commit autoupdate (#17)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 6ad0461 commit 663c01b

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ci:
99

1010
repos:
1111
- repo: https://github.com/commitizen-tools/commitizen
12-
rev: v3.29.1
12+
rev: v3.31.0
1313
hooks:
1414
- id: commitizen
1515
stages: [commit-msg]
@@ -37,7 +37,7 @@ repos:
3737
- id: prettier
3838
args: ["--tab-width", "2"]
3939
- repo: https://github.com/astral-sh/ruff-pre-commit
40-
rev: v0.7.0
40+
rev: v0.8.0
4141
hooks:
4242
- id: ruff
4343
args: [--fix, --exit-non-zero-on-fix]
@@ -50,7 +50,7 @@ repos:
5050
hooks:
5151
- id: codespell
5252
- repo: https://github.com/pre-commit/mirrors-mypy
53-
rev: v1.12.1
53+
rev: v1.13.0
5454
hooks:
5555
- id: mypy
5656
additional_dependencies: []

src/zlib_fast/gzip_adapter.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@ def __init__( # type: ignore[no-untyped-def]
5151
GzipFile = GzipFileAdapter
5252

5353
__all__ = (
54+
"READ_BUFFER_SIZE",
55+
"BadGzipFile",
5456
"GzipFile",
55-
"open",
5657
"compress",
5758
"decompress",
58-
"BadGzipFile",
59-
"READ_BUFFER_SIZE",
59+
"open",
6060
)

src/zlib_fast/zlib_adapter.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@ def compressobj(
6262

6363

6464
__all__ = (
65+
"DEFLATED",
6566
"DEF_BUF_SIZE",
6667
"DEF_MEM_LEVEL",
67-
"DEFLATED",
6868
"MAX_WBITS",
6969
"Z_BEST_COMPRESSION",
7070
"Z_BEST_SPEED",
@@ -82,10 +82,10 @@ def compressobj(
8282
"Decompress",
8383
"adler32",
8484
"compress",
85+
"compressobj",
8586
"crc32",
8687
"crc32_combine",
8788
"decompress",
8889
"decompressobj",
8990
"error",
90-
"compressobj",
9191
)

0 commit comments

Comments
 (0)