forked from quay/quay
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
33 lines (33 loc) · 907 Bytes
/
.pre-commit-config.yaml
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
repos:
- repo: https://github.com/gitleaks/gitleaks
rev: v8.16.4
hooks:
- id: gitleaks
- repo: https://github.com/psf/black
rev: 22.10.0
hooks:
- id: black
- repo: https://github.com/pycqa/isort
rev: 5.12.0
hooks:
- id: isort
args: ["--settings-path", "pyproject.toml"]
- repo: local
hooks:
- id: config-files-check
name: Checking Config file changes
entry: .github/hooks/pre-commit.sh
language: script
- id: eslint
name: ESLint
entry: web/node_modules/.bin/eslint --fix
language: system
files: ^web/
exclude: ^web/cypress/test/|^web/cypress/fixtures
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
hooks:
- id: trailing-whitespace
exclude: ^web/cypress/test/
- id: end-of-file-fixer
exclude: ^web/cypress/test/