mirror of
https://github.com/NicolasBohn/NexQuant.git
synced 2026-07-27 15:37:44 +00:00
f1c2b7d3a9
Add .codacy.yml to disable ESLint (no .eslintrc in web/), PMD (no Java code), and Prospector; restrict analysis paths to rdagent/ core. Limit codacy workflow to bandit-only to avoid IndexOutOfBoundsException at Sarif.scala:185 caused by 14k+ pylint results overwhelming the SARIF formatter. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
34 lines
757 B
YAML
34 lines
757 B
YAML
---
|
|
engines:
|
|
# Disable ESLint — no .eslintrc in web/ frontend directory
|
|
eslint:
|
|
enabled: false
|
|
# Disable PMD — no Java code, no ruleset configured
|
|
pmd:
|
|
enabled: false
|
|
# Disable Prospector — redundant with pylint
|
|
prospector:
|
|
enabled: false
|
|
# Keep bandit for security scanning
|
|
bandit:
|
|
enabled: true
|
|
# Keep pylint but limit scope via exclude_paths below
|
|
pylint:
|
|
enabled: true
|
|
|
|
# Global path exclusions — keeps pylint result count manageable
|
|
# to avoid Codacy SARIF formatter IndexOutOfBoundsException (Sarif.scala:185)
|
|
exclude_paths:
|
|
- "web/**"
|
|
- "git_ignore_folder/**"
|
|
- "workspace/**"
|
|
- "scripts/**"
|
|
- "test/**"
|
|
- "*.md"
|
|
- "*.txt"
|
|
- "*.yaml"
|
|
- "*.yml"
|
|
- "*.json"
|
|
- "*.toml"
|
|
- ".git/**"
|