-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpyproject.toml
52 lines (46 loc) · 1003 Bytes
/
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
[tool.prettier]
printWidth = 140
tabWidth = 4
useTabs = false
semi = true
singleQuote = true
trailingComma = "es5"
bracketSpacing = true
arrowParens = "always"
[tool.pylint.master]
ignore = ["tests"]
ignore-patterns = ["test_.*\\.py"]
[tool.pylint.messages_control]
confidence = ["HIGH", "CONTROL_FLOW", "INFERENCE", "INFERENCE_FAILURE", "UNDEFINED"]
disable = [
"raw-checker-failed",
"bad-inline-option",
"locally-disabled",
"file-ignored",
"suppressed-message",
"useless-suppression",
"deprecated-pragma",
"use-symbolic-message-instead",
"C0116",
"C0114",
"C0103",
"E0401",
"W0603"
]
[tool.pylint.format]
max-line-length = 140
indent-string = ' '
[tool.pylint.design]
max-args = 5
max-locals = 15
max-returns = 6
max-branches = 12
max-statements = 50
[tool.pylint.basic]
good-names = ["INPUT_TYPES"]
[tool.ruff]
line-length = 140
extend-ignore = [
"E501", # ignore line length errors
"C408" # ignore tuple trailing comma issue
]