forked from lgirdk/boardfarm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
62 lines (62 loc) · 1.83 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
---
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.4.0
hooks:
- id: check-ast
- id: end-of-file-fixer
- id: mixed-line-ending
- id: trailing-whitespace
- id: check-docstring-first
- id: check-yaml
- id: check-json
- id: pretty-format-json
args: [--autofix, --indent=4]
- id: check-added-large-files
- id: requirements-txt-fixer
- id: check-merge-conflict
- id: debug-statements
- id: check-executables-have-shebangs
language: python
files: \.py$
- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.1.7
hooks:
- id: remove-crlf
- id: remove-tabs
- id: forbid-crlf
- id: forbid-tabs
- repo: https://github.com/timothycrosley/isort
rev: 4.3.21
hooks:
- id: isort
name: isort
entry: isort
require_serial: true
language: python
types: [python]
- repo: https://github.com/jumanjihouse/pre-commit-hook-yamlfmt
rev: 0.0.10
hooks:
- id: yamlfmt
- repo: https://github.com/adrienverge/yamllint.git
rev: v1.23.0
hooks:
- id: yamllint
args: [--format, parsable, --strict]
- repo: https://github.com/pre-commit/mirrors-yapf
rev: v0.29.0
hooks:
- id: yapf
- repo: https://github.com/myint/eradicate
rev: master
hooks:
- id: eradicate
name: eradicate
description: Apply eradicate
entry: eradicate
language: python
files: \.py$
args: [--in-place]