- ViewerRuntime.js: convert 6 heavy static imports (abCompare, sideBySide, model3d, scopes, genInfo, frameExport) to dynamic lazy imports with _prewarmViewerModules(); all 8 call sites updated with optional chaining - logging.js: add mjrDbg() export (gated by APP_CONFIG.DEBUG_VERBOSE_ERRORS); replace labeled console.debug() calls in bootstrap.js, useGridLoader.js, entry.js - ttlCache.vitest.mjs: add 4 LRU edge-case tests (10k flood, re-set order, post-expiry pruning) - grid_perf_budget.vitest.mjs: new CI perf-budget suite — 5 tests at 10k+ assets (budget 400ms, actual ~40ms) - backfill_jobs.py: new route module extracted from db_maintenance handler - test_backfill_jobs.py: 61 direct unit tests covering all public functions - test_db_corruption_recovery.py: new recovery scenario tests - auth/fetch test suites: auth_refresh_race, client_auth_token, fetch_utils - js_dist rebuilt Tests: 393 JS passed, 1428 Python passed, 2 skipped
40 lines
912 B
JSON
40 lines
912 B
JSON
{
|
|
"include": [
|
|
"mjr_am_backend",
|
|
"mjr_am_shared"
|
|
],
|
|
"exclude": [
|
|
"**/__pycache__",
|
|
".git",
|
|
".mypy_cache",
|
|
".mypy_cache_tmp",
|
|
".ruff_cache",
|
|
"build",
|
|
"majoor_assetsmanager.egg-info",
|
|
"node_modules"
|
|
],
|
|
"extraPaths": [
|
|
"."
|
|
],
|
|
"pythonVersion": "3.10",
|
|
"typeCheckingMode": "standard",
|
|
|
|
"reportMissingImports": "error",
|
|
"reportArgumentType": "error",
|
|
"reportReturnType": "error",
|
|
"reportOperatorIssue": "error",
|
|
"reportIndexIssue": "error",
|
|
"reportUnusedCoroutine": "error",
|
|
|
|
"reportAttributeAccessIssue": "warning",
|
|
"reportCallIssue": "warning",
|
|
"reportGeneralTypeIssues": "warning",
|
|
"reportOptionalMemberAccess": "warning",
|
|
"reportOptionalSubscript": "warning",
|
|
"reportMissingModuleSource": "warning",
|
|
"reportUninitializedInstanceVariable": "warning",
|
|
|
|
"reportUnsupportedDunderAll": "none",
|
|
"reportMissingTypeStubs": "none"
|
|
}
|