0
0
Fork 0
mirror of https://github.com/healthchecks/healthchecks.git synced 2025-04-07 22:25:35 +00:00

Fix mypy warning

This commit is contained in:
Pēteris Caune 2024-12-19 12:34:38 +02:00
parent ff36755345
commit 5f94889d01
No known key found for this signature in database
GPG key ID: E28D7679E9A9EDE2

View file

@ -19,8 +19,8 @@ def settings_check(
app_configs: Sequence[AppConfig] | None,
databases: Sequence[str] | None,
**kwargs: dict[str, Any],
) -> list[Warning]:
items = []
) -> list[Error | Warning]:
items: list[Error | Warning] = []
site_root_parts = urlsplit(settings.SITE_ROOT)
if not site_root_parts.scheme: