Commit 7ee0463
ci: correct .codacy.yml to supported schema (exclude_paths, per-engine)
The first .codacy.yml used `engines: <tool>: enabled: false`, which Codacy does
not support — tool enable/disable is dashboard-only; the config file can only
adjust/scope already-enabled tools. Rewrite to the supported schema:
* global exclude_paths for the non-source trees whose findings are pure
style/heuristic noise, covered by their own gates in verify-build.yml
(markdown prose, tests, examples, review specs, CI helper scripts). Java-glob
corrected: `**.md`, not `**/*.md`.
* per-engine exclude_paths dropping src/ from cppcheck (unusedStructMember on
public-API header fields; the correct unique_ptr::release() ownership
transfer flagged as ignored-return) and flawfinder (strlen/strncasecmp on
\0-terminated constexpr literals) — all verified false positives. The
authoritative cppcheck gate still runs green in GitHub Actions.
Note: Codacy reads the config from the repository DEFAULT branch, so this file
only takes effect on Codacy's PR analysis once it reaches master (via the
feature/v2.0 -> master merge). Until then the "Codacy Static Code Analysis"
check stays red, but it is advisory only — master has no branch protection, so
it does not gate the merge, and all 115 findings are verified false positives.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NpysYDDJac63yz2mZKKiDf1 parent ec73266 commit 7ee0463
1 file changed
Lines changed: 27 additions & 21 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
10 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
11 | 15 | | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
17 | 21 | | |
18 | 22 | | |
19 | 23 | | |
20 | 24 | | |
21 | 25 | | |
22 | 26 | | |
23 | | - | |
| 27 | + | |
24 | 28 | | |
25 | 29 | | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | 30 | | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
38 | 37 | | |
39 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
0 commit comments