forked from getsentry/sentry
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
48 lines (48 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
45
46
47
48
exclude: >
(?x)(
LICENSE$|
\.snap$|
\.map$|
\.map\.js$|
^tests/sentry/lang/.*/fixtures/|
^tests/fixtures/|
^src/sentry/static/sentry/vendor/|
^tests/sentry/lang/javascript/example-project/|
^src/.*/locale/|
^src/sentry/data/
)
repos:
- repo: local
hooks:
- id: flake8
name: flake8
entry: flake8
language: python
files: \.py$
log_file: '.artifacts/flake8.pycodestyle.log'
- repo: https://github.com/ambv/black
rev: 19.3b0
hooks:
- id: black
types: [python]
exclude: (south_migrations/)
- repo: git://github.com/pre-commit/pre-commit-hooks
rev: v1.3.0
hooks:
- id: check-case-conflict
- id: check-executables-have-shebangs
- id: check-merge-conflict
- id: check-symlinks
- id: end-of-file-fixer
exclude_types: [svg]
- id: trailing-whitespace
exclude_types: [svg]
- id: debug-statements
- id: requirements-txt-fixer
# - repo: git://github.com/getsentry/pre-commit-hooks
# rev: f3237d2d65af81d435c49dee3593dc8f03d23c2d
# hooks:
# - id: prettier
# - id: eslint
# args: ['--format=checkstyle']
# log_file: '.artifacts/eslint.checkstyle.xml'