Skip to content

Commit 7e0be79

Browse files
authored
dev: update dev dependencies (#35)
1 parent 2ca9e5d commit 7e0be79

File tree

4 files changed

+15
-15
lines changed

4 files changed

+15
-15
lines changed

boostedblob/_recover.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def _xml_to_dict(element: etree.Element) -> Any:
2626

2727

2828
async def _listtree_versions_snapshots(
29-
prefix: Union[str, AzurePath]
29+
prefix: Union[str, AzurePath],
3030
) -> dict[AzurePath, list[dict[str, Any]]]:
3131
if isinstance(prefix, str):
3232
prefix = AzurePath.from_str(prefix)

boostedblob/write.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ async def _azure_write_stream_unordered(
289289
block_list = []
290290

291291
async def upload_chunk(
292-
index_chunk_byte_range: tuple[int, tuple[bytes | bytearray | memoryview, ByteRange]]
292+
index_chunk_byte_range: tuple[int, tuple[bytes | bytearray | memoryview, ByteRange]],
293293
) -> None:
294294
unordered_index, (chunk, byte_range) = index_chunk_byte_range
295295
# https://docs.microsoft.com/en-us/rest/api/storageservices/put-block-list#remarks

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ test = [
2727
]
2828
lint = [
2929
"ipdb",
30-
"black>=24.2.0,<25",
30+
"black>=25,<26",
3131
"isort>=5.11.1,<6",
32-
"ruff>=0.2.2,<0.3",
32+
"ruff>=0.11",
3333
]
34-
type = ["mypy==1.8.0"]
34+
type = ["mypy==1.16.0"]
3535

3636
[build-system]
3737
requires = ["flit_core>=3.4"]

tox.ini

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,22 +9,22 @@ allowlist_externals =
99
bash
1010
uv
1111
commands_pre =
12-
uv sync --group test
12+
uv sync --active --group test
1313
commands =
14-
uv run pytest --cov=boostedblob {posargs}
15-
uv run coverage html
14+
uv run --active pytest --cov=boostedblob {posargs}
15+
uv run --active coverage html
1616

1717
[testenv:lint]
1818
commands_pre =
19-
uv sync --group lint
19+
uv sync --active --group lint
2020
commands =
21-
uv run ruff check .
22-
uv run black --diff --check --quiet .
23-
uv run isort --diff --check --quiet .
21+
uv run --active ruff check .
22+
uv run --active black --diff --check --quiet .
23+
uv run --active isort --diff --check --quiet .
2424

2525
[testenv:mypy]
2626
commands_pre =
27-
uv sync --group test --group type
27+
uv sync --active --group test --group type
2828
commands =
29-
uv run mypy boostedblob
30-
uv run mypy tests --disable-error-code var-annotated
29+
uv run --active mypy boostedblob
30+
uv run --active mypy tests --disable-error-code var-annotated

0 commit comments

Comments
 (0)