backend: remove __main__ runner; typing: fix mypy across core and routes; tooling: use uv for pytest in pre-commit; security: narrow broad except in config; mypy: relax untyped decorator check for backend.app.main

This commit is contained in:
William Valentin
2025-09-15 01:25:25 -07:00
parent be520c14e9
commit b544399f9c
9 changed files with 69 additions and 58 deletions

5
.rules
View File

@@ -10,6 +10,9 @@ RULE: keep_code_lean
RULE: keep_tests_consistent
RULE: remove_legacy_code
RULE: use_makefile_services
RULE: use_browser_tools
RULE: git_commit_often
RULE: keep_docs_consolidated
SERVER: uvicorn
PACKAGE_MANAGER: uv
@@ -26,3 +29,5 @@ STYLE: python_formatter_black
STYLE: code_no_duplication
STYLE: code_high_cohesion
STYLE: code_minimal_complexity
STYLE: code_commit_accordingly
STYLE: code_no_changelog