forked from Seeed-Studio/ModelAssistant
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
45 lines (35 loc) 路 691 Bytes
/
Copy pathpyproject.toml
File metadata and controls
45 lines (35 loc) 路 691 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
[tool.isort]
profile = "black"
[tool.pylint.messages_control]
disable = "C0330, C0326"
[tool.pylint.format]
max-line-length = "120"
[tool.black]
line-length = 120
target-version = ['py38', 'py39', 'py310']
include = '\.pyi?$'
skip-string-normalization = true
[tool.ruff]
line-length = 120
select = ["E", "F"]
ignore = ["E501"]
exclude = [
".eggs",
".git",
".github",
".ruff_cache",
".venv",
".vscode",
"build/",
"datasets/",
"docs/",
"examples/",
"dist/",
"node_modules/",
"scripts/",
"work_dirs/",
]
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
target-version = "py38"
[tool.ruff.mccabe]
max-complexity = 10