Skip to content

Commit 6252233

Browse files
committed
fix: clarify instructions regarding complexity metrics in Codacy analysis
1 parent 8128521 commit 6252233

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/instructions/codacy.instructions.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ Configuration for AI behavior when interacting with Codacy's MCP Server
6565
- "Propose fixes" means to both suggest and, if possible, automatically apply the fixes.
6666
- You MUST NOT wait for the user to ask for analysis or remind you to run the tool.
6767
- Do not run `codacy_cli_analyze` looking for changes in duplicated code or code complexity metrics.
68+
- Complexity metrics are different from complexity issues. When trying to fix complexity in a repository or file, focus on solving the complexity issues and ignore the complexity metric.
6869
- Do not run `codacy_cli_analyze` looking for changes in code coverage.
6970
- Do not try to manually install Codacy CLI using either brew, npm, npx, or any other package manager.
7071
- If the Codacy CLI is not installed, just run the `codacy_cli_analyze` tool from Codacy's MCP Server.

0 commit comments

Comments
 (0)