-
Notifications
You must be signed in to change notification settings - Fork 31
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
43 lines (40 loc) · 901 Bytes
/
.pre-commit-config.yaml
File metadata and controls
43 lines (40 loc) · 901 Bytes
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
repos:
- repo: https://github.com/ambv/black
rev: 24.4.2
hooks:
- id: black
name: Format Python Code
language: python
entry: black
args:
- --safe
- --line-length=88
- --target-version=py39
- .
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: requirements-txt-fixer
name: Requirements file fixer
language: python
args:
- requirements.txt
- requirements-dev.txt
- repo: https://github.com/PyCQA/flake8
rev: 7.0.0
hooks:
- id: flake8
name: Flake8 Check
language: python
entry: flake8
args:
- paperswithcode
- repo: https://github.com/pycqa/pydocstyle
rev: 6.3.0
hooks:
- id: pydocstyle
name: Python Documentation Style Check
language: python
entry: pydocstyle
args:
- paperswithcode