forked from wislertt/leetcode-py
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
40 lines (40 loc) · 1.22 KB
/
.pre-commit-config.yaml
File metadata and controls
40 lines (40 loc) · 1.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
repos:
- repo: local
hooks:
- id: update-pre-commit-hooks
name: update pre-commit hooks
entry: pre-commit autoupdate
language: system
pass_filenames: false
types: [file]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
args: ["--maxkb=20000"]
- repo: https://github.com/gitleaks/gitleaks
rev: v8.30.0
hooks:
- name: gitleaks
id: gitleaks
- repo: local
hooks:
- id: sync-submodules
name: sync git submodules
entry: bash -c 'output=$(git submodule update --init --recursive --remote 2>&1); [ -z "$output" ]'
language: system
always_run: true
pass_filenames: false
- id: nb-to-py
name: convert notebooks to python
entry: make nb-to-py
language: system
pass_filenames: false
- id: lint
name: lint
entry: make lint
language: system
pass_filenames: false