Skip to content

Commit

Permalink
Speed up semgrep on pre-commit (#11927)
Browse files Browse the repository at this point in the history
Skip version check, and only run on Python files
  • Loading branch information
gasman committed May 4, 2024
1 parent 8aec935 commit 4f78cce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,5 @@ repos:
rev: v1.40.0
hooks:
- id: semgrep
args: ['--config', '.semgrep.yml', '--error']
files: \.py$
args: ['--config', '.semgrep.yml', '--disable-version-check', '--error']

0 comments on commit 4f78cce

Please sign in to comment.