forked from paperswithcode/sota-extractor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
42 lines (40 loc) · 982 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
40
41
42
repos:
- repo: https://github.com/ambv/black
rev: 21.6b0
hooks:
- id: black
name: Format Python Code
language: python
entry: black
args:
- --target-version=py37
- --safe
- --line-length=79
- sota_extractor
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1
hooks:
- id: requirements-txt-fixer
name: Requirements file fixer
language: python
args:
- requirements.txt
- requirements-dev.txt
- repo: https://gitlab.com/pycqa/flake8
rev: 3.9.2
hooks:
- id: flake8
name: Flake8 Check
language: python
entry: flake8
args:
- sota_extractor
- repo: https://github.com/pycqa/pydocstyle
rev: 6.1.1
hooks:
- id: pydocstyle
name: Python Documentation Style Check
language: python
entry: pydocstyle
args:
- sota_extractor