- Update .gitignore to prevent tracking of local directories and accidental files. - Improve installation instructions in INSTALLATION.md for faster dependency resolution using `uv`. - Replace regex-based string replacement with safer `replaceAll` in i18n.js to mitigate ReDoS risks. - Add documentation for global state key registry in runtimeState.js. - Prevent timer leaks in toast.js by stopping the cleaner timer when no active toasts remain. - Use replaceChildren instead of innerHTML for safer DOM manipulation in Viewer_impl.js. - Update FloatingViewer.js to improve icon handling and enhance generation time display. - Implement JSON sanitization for NaN/Infinity values in utils.py to ensure valid JSON output. - Adjust mypy configuration to target Python 3.10. - Update requirements.txt to specify compatible versions for pywin32. - Add comprehensive tests for environment variable helpers in test_config.py.
11 lines
290 B
INI
11 lines
290 B
INI
[mypy]
|
|
python_version = 3.10
|
|
files = mjr_am_backend,mjr_am_shared
|
|
|
|
# Repository root has a hyphen in its folder name; require explicit bases.
|
|
explicit_package_bases = True
|
|
mypy_path = .
|
|
|
|
# ComfyUI runtime modules are not available in CI typecheck environment.
|
|
ignore_missing_imports = True
|