Fix line length to comply with Black formatting (120 chars)
- Break long line in lifespan function to multiple lines - Remove test_startup.py (not needed, existing tests validate startup) Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
This commit is contained in:
+3
-1
@@ -66,7 +66,9 @@ async def lifespan(app: FastAPI):
|
||||
config_issues = check_all_configs()
|
||||
|
||||
# Log overall status
|
||||
has_issues = any(config_issues['email']) or any(len(issues) > 0 for provider, issues in config_issues['storage'].items())
|
||||
has_issues = any(config_issues['email']) or any(
|
||||
len(issues) > 0 for provider, issues in config_issues['storage'].items()
|
||||
)
|
||||
if has_issues:
|
||||
logging.warning("Application started with configuration issues - some features may be unavailable")
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user