forked from microsoft/msticpy
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.pre-commit-config.yaml
39 lines (39 loc) · 972 Bytes
/
.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
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
hooks:
- id: check-yaml
- id: check-json
- id: trailing-whitespace
args: [--markdown-linebreak-ext=md]
- repo: https://github.com/ambv/black
rev: 20.8b1
hooks:
- id: black
language: python
args:
- -t
- py36
- repo: https://github.com/pre-commit/mirrors-pylint
rev: v2.6.0
hooks:
- id: pylint
args:
- --disable=E0401,W0511
- --ignore-patterns=test_
- repo: https://gitlab.com/pycqa/flake8
rev: 3.8.4
hooks:
- id: flake8
args:
- --extend-ignore=E0401,E501
- --max-line-length=90
- --exclude=tests,test*.py
- repo: local
hooks:
- id: check_reqs_all
name: check_reqs_all
entry: python -m tools.create_reqs_all
pass_filenames: False
language: python
types: [python]