UNPKG

mcp-server-semgrep

Version:

MCP Server for Semgrep Integration - static code analysis with AI

17 lines (16 loc) 403 B
rules: - id: useless-assignment-keyed message: key `$Y` in `$X` is assigned twice; the first assignment is useless languages: [python] severity: INFO pattern-either: - pattern: | $X[$Y] = ... $X[$Y] = ... - pattern: | $X[$Y][$Z] = ... $X[$Y][$Z] = ... metadata: category: maintainability technology: - python