1a195a96bd
- Merge origin/main into branch (resolve conflict in integrations_dashboard.html) - Add defensive JSON parsing with try/except for integration.config - Wrap tester() call in try/except to prevent 500 errors from bad config - Add i18n key integrations.connection_test_failed_fallback in en.json - Reference i18n key in template JS fallback message - Update SECURITY_AUDIT.md: add fix date (2026-03-23), update doc date - Remove accidental revert.sh file - Fix missing MagicMock/patch imports in test file - Add tests for invalid JSON config and tester exception error paths Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com> Agent-Logs-Url: https://github.com/christianlouis/DocuElevate/sessions/daebb70e-059a-4601-8864-88eef49f99cf
43 lines
1.3 KiB
Plaintext
43 lines
1.3 KiB
Plaintext
# Development and testing dependencies
|
||
-r requirements.txt
|
||
|
||
# Testing
|
||
pytest>=8.0.0
|
||
pytest-cov>=4.1.0
|
||
pytest-asyncio>=0.23.0
|
||
pytest-mock>=3.12.0
|
||
pytest-timeout>=2.3.0 # Per-test timeout enforcement to prevent CI hangs
|
||
httpx>=0.26.0 # For async test client
|
||
testcontainers>=3.7.1 # For integration tests with real containers
|
||
fpdf2>=2.8.0 # For generating test PDF documents in integration tests
|
||
minio>=7.1.0 # For MinIO/S3 integration tests
|
||
redis>=4.5.0 # For Redis integration tests
|
||
boto3>=1.26.0 # For S3 integration tests
|
||
|
||
# Code quality
|
||
ruff>=0.3.0
|
||
mypy>=1.8.0
|
||
djlint>=1.36.0 # HTML template linter for accessibility and best practices
|
||
|
||
# Documentation (builds the embedded /help site via MkDocs Material)
|
||
mkdocs-material>=9.5.0 # MkDocs Material theme – same package used in docs/requirements.txt
|
||
|
||
# Type stubs for mypy
|
||
types-aiofiles>=24.1.0
|
||
types-requests>=2.31.0
|
||
types-paramiko>=3.0.0
|
||
|
||
# Security scanning (Ruff includes most security checks from bandit)
|
||
pip-audit>=2.7.0 # Dependency vulnerability scanning against OSV/PyPA advisory databases
|
||
|
||
# Pre-commit hooks
|
||
pre-commit>=3.6.0
|
||
|
||
# License compliance
|
||
pip-licenses==5.5.1 # For license compliance checking
|
||
|
||
# Release automation
|
||
python-semantic-release>=9.0.0
|
||
|
||
types-aiofiles>=24.1.0.20240311 # Type stubs for aiofiles
|