We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ddd7d2 commit 7b46f15Copy full SHA for 7b46f15
.pre-commit-config.yaml
@@ -23,3 +23,15 @@ repos:
23
entry: ruff format --force-exclude
24
types: [python]
25
require_serial: true
26
+
27
28
+ - repo: https://github.com/semgrep/pre-commit
29
+ rev: v1.144.0
30
+ hooks:
31
+ - id: semgrep
32
+ # Use Semgrep's "default" ruleset and fail the commit on findings
33
+ args:
34
+ - --config
35
+ - p/default
36
+ - --error
37
+ - --skip-unknown-extensions
0 commit comments