-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
/
Copy path.pre-commit-config.yaml
67 lines (67 loc) · 1.74 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
63
64
65
66
67
repos:
- repo: https://github.com/python/black
rev: 20.8b1
hooks:
- id: black
- repo: https://gitlab.com/pycqa/flake8
rev: 3.8.3
hooks:
- id: flake8
additional_dependencies: [flake8-comprehensions>=3.1.0]
- id: flake8
name: flake8-pyx
files: \.(pyx|pxd)$
types:
- file
args: [--append-config=flake8/cython.cfg]
- id: flake8
name: flake8-pxd
files: \.pxi\.in$
types:
- file
args: [--append-config=flake8/cython-template.cfg]
- repo: https://github.com/PyCQA/isort
rev: 5.2.2
hooks:
- id: isort
exclude: ^pandas/__init__\.py$|^pandas/core/api\.py$
- repo: https://github.com/asottile/pyupgrade
rev: v2.7.2
hooks:
- id: pyupgrade
args: [--py37-plus]
- repo: https://github.com/pre-commit/pygrep-hooks
rev: v1.6.0
hooks:
- id: rst-backticks
# these exclusions should be removed and the files fixed
exclude: (?x)(
text\.rst|
timeseries\.rst|
visualization\.rst|
missing_data\.rst|
options\.rst|
reshaping\.rst|
scale\.rst|
merging\.rst|
cookbook\.rst|
enhancingperf\.rst|
groupby\.rst|
io\.rst|
overview\.rst|
panel\.rst|
plotting\.rst|
10min\.rst|
basics\.rst|
categorical\.rst|
contributing\.rst|
contributing_docstring\.rst|
extending\.rst|
ecosystem\.rst|
comparison_with_sql\.rst|
install\.rst|
calculate_statistics\.rst|
combine_dataframes\.rst|
v0\.|
v1\.0\.|
v1\.1\.[012])