-
Notifications
You must be signed in to change notification settings - Fork 1
/
.pre-commit-config.yaml
44 lines (43 loc) · 1.24 KB
/
.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
34
35
36
37
38
39
40
41
42
43
44
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
exclude: >-
^.*\.(js|jsx|ts|tsx|css|scss|html|json|md|mdx|graphql|gql|
png|jpe?g|gif|ico|tif?f|bmp|svg|eps|raw|cr2|nef|orf|sr2|webp|
shp|shx|dbf|prj|sbn|sbx|fbn|fbx|ain|aih|ixs|mxs|atx|shp.xml|
cpg|qix|fix|gix|six|prj.xml|sbn.xml|sbx.xml|shp.html|shp.xml|
shx.xml|dbf.xml|prj.xml|shp.xml|xml|gml|vrt|sld|symb|lyr|lyrx|
kml|kmz|tab|qgs|qlr|shp.xml|ovr)$
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-merge-conflict
- id: check-toml
- repo: https://github.com/pycqa/isort
rev: 5.12.0
hooks:
- id: isort
name: isort
- repo: https://github.com/psf/black
rev: 23.10.1
hooks:
- id: black
language_version: python3
- repo: https://github.com/PyCQA/autoflake
rev: v2.2.1
hooks:
- id: autoflake
- repo: https://github.com/pycqa/flake8
rev: 6.1.0
hooks:
- id: flake8
args: ['--config', 'flake8']
- repo: https://github.com/gitguardian/ggshield
rev: v1.24.0
hooks:
- id: ggshield
language_version: python3
stages: [commit]