Skip to content

Commit 6d0b95b

Browse files
Improve large file size error
Update dependencies
1 parent 4e755ec commit 6d0b95b

File tree

4 files changed

+341
-342
lines changed

4 files changed

+341
-342
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/astral-sh/ruff-pre-commit
3-
rev: v0.14.3
3+
rev: v0.14.13
44
hooks:
55
- id: ruff-format
66
- id: ruff-check

mediux_posters/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ def process_image(
209209
"[%s] Image file '%s' is larger than %d MB, skipping upload",
210210
type(service).__name__,
211211
image_file,
212-
MAX_IMAGE_SIZE,
212+
MAX_IMAGE_SIZE / 1000 / 1000,
213213
)
214214
return
215215
try:

pyproject.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ requires = ["hatchling"]
44

55
[dependency-groups]
66
dev = [
7-
"pre-commit >= 4.3.0"
7+
"pre-commit >= 4.5.0"
88
]
99
tests = [
10-
"pytest >= 8.4.0",
10+
"pytest >= 9.0.0",
1111
"pytest-cov >= 7.0.0",
12-
"pytest-httpx >= 0.35.0",
13-
"tox >= 4.32.0",
12+
"pytest-httpx >= 0.36.0",
13+
"tox >= 4.34.0",
1414
"tox-uv >= 1.29.0"
1515
]
1616

@@ -36,9 +36,9 @@ dependencies = [
3636
"questionary >= 2.1.0",
3737
"ratelimit >= 2.2.0",
3838
"rich >= 14.2.0",
39-
"tomli >= 2.3.0 ; python_version < '3.11'",
39+
"tomli >= 2.4.0 ; python_version < '3.11'",
4040
"tomli-w >= 1.2.0",
41-
"typer >= 0.20.0"
41+
"typer >= 0.21.0"
4242
]
4343
description = "Fetches Show, Movie, and Collection cover art from Mediux and updates Plex/Jellyfin using TMDB IDs."
4444
dynamic = ["version"]

0 commit comments

Comments
 (0)