We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 79c3901 commit f3e397cCopy full SHA for f3e397c
lefthook.yml
@@ -0,0 +1,14 @@
1
+pre-commit:
2
+ commands:
3
+ bandit:
4
+ glob: "*.{js,ts,jsx,tsx}"
5
+ staged_files: true
6
+ run: bandit {staged_files} -c pyproject.toml
7
+ ruff-check:
8
9
10
+ run: ruff check {staged_files} --fix --exit-non-zero-on-fix --config pyproject.toml
11
+ ruff:
12
13
14
+ run: ruff format {staged_files} --config pyproject.toml
0 commit comments