-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.pre-commit-config.yaml
44 lines (41 loc) · 1.14 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
# How to run pre-commit inside folder ?
# https://github.com/pre-commit/pre-commit/issues/1110
# How-to install locally ?
# pre-commit install
repos:
- repo: https://github.com/ambv/black
rev: 22.8.0
hooks:
- id: black
language_version: python3
- repo: https://github.com/pycqa/isort
rev: 5.12.0
hooks:
- id: isort
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.4.0
hooks:
- id: flake8
args: ["--max-line-length=119"]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
hooks:
- id: check-yaml
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
hooks:
- id: end-of-file-fixer
# - repo: https://github.com/pre-commit/mirrors-eslint
# rev: v8.11.0
# hooks:
# - id: eslint
# files: frontend/.*$
# additional_dependencies:
# - eslint
# - eslint-config-airbnb-base
# - eslint-loader
# - eslint-plugin-vue
# - babel-eslint
# verbose: true