-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
45 lines (41 loc) · 802 Bytes
/
pyproject.toml
File metadata and controls
45 lines (41 loc) · 802 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
44
45
# ------------
# black config
# ------------
[tool.black]
line-length = 88
target-version = ['py36', 'py37', 'py38']
include = '\.pyi?$'
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
| assets
)/
| foo.py # also separately exclude a file named foo.py in
# the root of the project
)
'''
# ------------
# isort config
# ------------
[tool.isort]
profile="black"
# -------------
# pylint config
# -------------
[tool.pylint.reports]
output-format="colorized"
reports="yes"
[tool.pylint.typecheck]
generated-members="numpy.*,torch.*,cv2.*,np.*"
[tool.pylint.design]
max-args=6