-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
54 lines (46 loc) · 1.03 KB
/
pyproject.toml
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
[tool.yapf]
based_on_style = "pep8"
column_limit = 100
indent_width = 4
[tool.isort]
multi_line_output = 3
include_trailing_comma = true
[tool.pylint.master]
extension-pkg-whitelist = "cv2"
jobs = 0
[tool.pylint.design]
min-public-methods = 1
[tool.pylint.refactoring]
max-nested-blocks = 6
[tool.pylint.format]
max-line-length = 100
ignore-long-lines = "^\\s*(# )?<?https?://\\S+>?$"
max-module-lines=1500
[tool.pylint.typecheck]
generated-members = [
"numpy.*",
"torch.*",
]
[tool.pylint.string]
check-quote-consistency = "yes"
[tool.pylint.messages_control]
disable = [
"missing-module-docstring",
"missing-class-docstring",
"missing-function-docstring",
"fixme",
"too-many-instance-attributes",
"too-many-locals",
"too-many-arguments",
"too-many-statements",
"too-many-branches",
"too-many-function-args",
"too-many-nested-blocks",
"too-many-ancestors",
"unused-variable",
"invalid-name",
"duplicate-code",
"import-error",
"unused-argument",
"arguments-differ"
]