-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.pre-commit-config.yaml
34 lines (32 loc) · 1.04 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
# 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: v4.0.1
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
- id: check-ast
- repo: https://github.com/pre-commit/mirrors-isort
rev: "v5.9.1" # Use the revision sha / tag you want to point at
hooks:
- id: isort
#- repo: https://github.com/pre-commit/mirrors-mypy
# rev: 'v0.910' # Use the sha / tag you want to point at
# hooks:
# - id: mypy
# args: [--no-strict-optional, --ignore-missing-imports]
- repo: https://github.com/pre-commit/mirrors-autopep8
rev: "v1.5.7" # Use the sha / tag you want to point at
hooks:
- id: autopep8
#- repo: https://github.com/PyCQA/pydocstyle
# rev: '6.1.1'
# hooks:
# - id: pydocstyle
# language: python
# types: [python]
# args:
# - --ignore=D102,D100,D101,D105,D212