Skip to content

Commit 39fa14c

Browse files
committed
Fix format + type check
1 parent 75ca0b8 commit 39fa14c

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ extend-exclude = [
1717
]
1818

1919
[tool.ruff.lint]
20-
ignore = ["E741", "BLE001", "SIM102", "T100"]
20+
ignore = ["E741", "EXE001", "BLE001", "SIM102", "T100"]
2121

2222
[tool.black]
2323
line-length = 100

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ uv
1212

1313
# Testing
1414
aiohttp
15+
anyio
1516
truststore
1617
python-dotenv
1718
markdown

scripts/images.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,9 @@ def load_manifest() -> dict[str, str]:
7272
def save_manifest(manifest: dict[str, str]) -> None:
7373
MANIFEST_FILE.parent.mkdir(parents=True, exist_ok=True)
7474
with open(MANIFEST_FILE, "w") as f:
75-
f.writelines(f"{local_filepath} {sha256}\n" for local_filepath, sha256 in sorted(manifest.items()))
75+
f.writelines(
76+
f"{local_filepath} {sha256}\n" for local_filepath, sha256 in sorted(manifest.items())
77+
)
7678

7779

7880
def download_images() -> None:

tests/test_server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ async def main():
246246
assert not target.exists()
247247

248248
target.mkdir()
249-
with pytest.raises(ValueError):
249+
with pytest.raises(FileExistsError):
250250
await server.try_install(target, install_func, target)
251251
assert target.exists()
252252

0 commit comments

Comments
 (0)