What's Changed
CI / Code Quality
- Added Codacy Security Scan workflow with SARIF integration to GitHub Advanced Security
- Added PMD ruleset and
.codacy.ymlrepo configuration - Added ESLint 8 legacy config for Codacy CLI compatibility
- Added least-privilege permissions to all Docker build workflow jobs (CodeQL fix)
- Excluded binary files from Codacy analysis to prevent CLI crashes
- Added SARIF validation fallback step for resilient uploads
- Upgraded
codeql-action/upload-sariffrom v3 to v4
Code Fixes (Codacy static analysis)
- Removed unused imports across test and route files
- Removed unused variable in
test_disc_id.py - Replaced bare
except/passblocks with debug logging indisc_id.pyandlock_manager.py - Fixed generic object injection sink in
api.jsformatSize() - Added
nosecannotations for intentional SHA1 usage infile_hasher.py
Full Changelog: v3.5.0...v3.5.1