File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -3094,7 +3094,7 @@ semgrep: ## 🔍 Security patterns & anti-patterns
30943094 @test -d " $( VENV_DIR) " || $(MAKE ) venv
30953095 @/bin/bash -c " source $( VENV_DIR) /bin/activate && \
30963096 python3 -m pip install -q semgrep && \
3097- $(VENV_DIR ) /bin/semgrep --config=auto mcpgateway tests || true"
3097+ $(VENV_DIR ) /bin/semgrep --config=auto mcpgateway tests --exclude-rule python.lang.compatibility.python37.python37-compatibility-importlib2 || true"
30983098
30993099dodgy : # # 🔐 Suspicious code patterns
31003100 @echo " 🔐 dodgy - scanning for hardcoded secrets..."
Original file line number Diff line number Diff line change 1+ rules :
2+ - id : disable-importlib-resources-compat
3+ languages : [python]
4+ message : " This rule is intentionally disabled."
5+ severity : INFO
6+ pattern : import importlib.resources
7+ metadata :
8+ python_min_version : " 3.12"
You can’t perform that action at this time.
0 commit comments