fix(config): return None if env var is empty or non-existent (#315)

* fix(config): return None if env var is empty or non-existent
* chore: fix pylint issues
* fix: add unit test for non-existent env vars
This commit is contained in:
2024-11-21 22:26:07 +00:00
committed by GitHub
parent 31269af218
commit f611b685b3
10 changed files with 172 additions and 82 deletions

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python3
"""Provides functions for converting timestamps to dates."""
from datetime import datetime
from zoneinfo import ZoneInfo