Skip to content

Commit eb1327a

Browse files
types(flask_config) and bump pillow pin
1 parent 7a9fe6d commit eb1327a

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

api/flask_config.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
from __future__ import annotations
44

5-
from typing import Any, overload
5+
from typing import Any, cast, overload
66

77
from flask import Response, current_app, jsonify
88

@@ -11,7 +11,7 @@
1111

1212
def exclusion_rules() -> list[RuleTokens]:
1313
"""Return loaded exclusion rules from app config (empty list when unset)."""
14-
return current_app.config.get("EXCLUSION_RULES") or []
14+
return cast(list[RuleTokens], current_app.config.get("EXCLUSION_RULES") or [])
1515

1616

1717
@overload

requirements-lock.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ fpdf2==2.8.7 # via -r requirements.txt
1414
itsdangerous==2.2.0 # via flask
1515
jinja2==3.1.6 # via flask
1616
markupsafe==3.0.3 # via flask, jinja2, werkzeug
17-
pillow==12.2.0 # via -r requirements.txt, fpdf2
17+
pillow==12.3.0 # via -r requirements.txt, fpdf2
1818
werkzeug==3.1.8 # via flask

0 commit comments

Comments
 (0)