feat: add strict mypy type-checking for app/utils/ module

- Add [[tool.mypy.overrides]] section for app/utils/** with disallow_untyped_defs=true
- Add type annotations to all functions in app/utils/ (12 files)
- Fix type annotations in app/config.py and app/database.py (imported by utils)
- All 85 source files now pass mypy type checking

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-02-14 00:27:52 +00:00
parent db45c09696
commit 53a9efa56d
12 changed files with 44 additions and 26 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ logger = logging.getLogger(__name__)
_cipher_suite = None
def _get_cipher_suite():
def _get_cipher_suite() -> object | None:
"""
Get or create the Fernet cipher suite for encryption/decryption.