UNPKG

mcp-server-semgrep

Version:

MCP Server for Semgrep Integration - static code analysis with AI

13 lines (12 loc) 332 B
rules: - id: is-not-is-not message: >- In Python 'X is not ...' is different from 'X is (not ...)'. In the latter the 'not' converts the '...' directly to boolean. languages: [python] severity: ERROR pattern: $S is (not ...) metadata: category: correctness technology: - python