mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +00:00
lint: Fix semgrep scanning of extensionless Python scripts.
Semgrep 0.118.0 changed the default of --scan-unknown-extensions to false. It also seems that it no longer respects --lang (or never did), so rename the config file to reflect that it only includes Python rules, to make it clear that additional languages will require separate config files. Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
6f6e83d2e2
commit
f4768b0030
@@ -62,7 +62,7 @@ cairosvg
|
||||
python-debian
|
||||
|
||||
# Pattern-based lint tool
|
||||
semgrep<1.38.0 # https://github.com/returntocorp/semgrep/issues/8669
|
||||
semgrep
|
||||
|
||||
# Contains Pysa, a security-focused static analyzer
|
||||
pyre-check
|
||||
|
||||
Reference in New Issue
Block a user