forked from rtk-rnjn/Diabetes-Checker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.toml
50 lines (45 loc) · 831 Bytes
/
project.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
[tool.black]
line-length = 125
skip-string-normalization = true
[tool.isort]
profile = "black"
combine_as_imports = true
combine_star = true
line_length = 125
[tool.pyright]
reportUnnecessaryTypeIgnoreComment = "warning"
pythonVersion = "3.10"
typeCheckingMode = "basic"
strictParameterNoneValue = false
include = ["cogs"]
exclude = ["**/__pycache__", "build", "dist"]
[tool.ruff]
line-length = 150
select = [
'A',
'ASYNC',
'B',
'C',
'COM',
'E',
'EM',
'F',
'FA',
'G',
'PL',
'Q',
'T10',
'UP',
'W',
]
ignore = ['A003', 'D105', 'D107', 'D401', "F403", "F405", "E501", "PLR2004"]
target-version = "py310"
exclude = ["discord"]
format = "text"
[tool.ruff.mccabe]
max-complexity = 35
[tool.ruff.pylint]
max-args = 15
max-branches = 35
max-returns = 15
max-statements = 80