Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ repos:
- id: mixed-line-ending

- repo: https://github.com/PyCQA/isort
rev: 5.13.2
rev: 6.0.1
hooks:
- id: isort
files: >-
Expand All @@ -24,7 +24,7 @@ repos:
)

- repo: https://github.com/psf/black
rev: 24.10.0
rev: 25.1.0
hooks:
- id: black
files: >-
Expand All @@ -36,12 +36,12 @@ repos:
)

- repo: https://github.com/tox-dev/pyproject-fmt
rev: v2.5.0
rev: v2.5.1
hooks:
- id: pyproject-fmt

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.9.3
rev: v0.11.0
hooks:
- id: ruff

Expand Down
8 changes: 4 additions & 4 deletions tests/actual_tests/files_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ async def test_file_download2file_async(anc_any, rand_bytes):
def test_file_download2stream_invalid_type(nc_any):
for test_type in (
b"13",
int(55),
55,
):
with pytest.raises(TypeError):
nc_any.files.download2stream("xxx", test_type)
Expand All @@ -234,7 +234,7 @@ def test_file_download2stream_invalid_type(nc_any):
async def test_file_download2stream_invalid_type_async(anc_any):
for test_type in (
b"13",
int(55),
55,
):
with pytest.raises(TypeError):
await anc_any.files.download2stream("xxx", test_type)
Expand All @@ -243,7 +243,7 @@ async def test_file_download2stream_invalid_type_async(anc_any):
def test_file_upload_stream_invalid_type(nc_any):
for test_type in (
b"13",
int(55),
55,
):
with pytest.raises(TypeError):
nc_any.files.upload_stream("xxx", test_type)
Expand All @@ -253,7 +253,7 @@ def test_file_upload_stream_invalid_type(nc_any):
async def test_file_upload_stream_invalid_type_async(anc_any):
for test_type in (
b"13",
int(55),
55,
):
with pytest.raises(TypeError):
await anc_any.files.upload_stream("xxx", test_type)
Expand Down