added strict mypy checks

This commit is contained in:
Brian Bjarke Jensen
2025-08-28 20:56:28 +02:00
parent cb036da997
commit 5e610dd469
6 changed files with 46 additions and 23 deletions
+4
View File
@@ -0,0 +1,4 @@
from .check_env import check_env as check_env
from .readable_unit import readable_unit as readable_unit
__all__ = ["check_env", "readable_unit"]
+1 -1
View File
@@ -5,7 +5,7 @@ import os
def check_env(
var_list: str | list[str],
var_list: str | set[str] | list[str] | tuple[str, ...],
missing_ok: bool = False,
) -> None:
"""Check if environment variables are set.