-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
105 lines (99 loc) · 1.56 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[tool.pyright]
venv = ".venv12"
venvPath = "."
include = ["chalk", "walkthrough", "examples"]
ignore = ["**/tests/*"]
reportUnknownMemberType = "none"
reportUnknownParameterType = "none"
reportUnknownArgumentType = "none"
reportUnknownVariableType = "none"
reportMissingTypeArgument = "none"
reportMissingTypeStubs = "none"
reportUnusedExpression = "none"
reportUnknownLambdaType = "none"
reportIncompatibleMethodOverride = "none"
reportPrivateUsage = "none"
[tool.ruff]
include = ["**/chalk/*"]
exclude = ["**/output/*", "*.ipynb"]
ignore = [
"ANN101",
"ANN401",
"N801",
"E203",
"E266",
"E501",
"E741",
"N803",
"N802",
"N806",
"D400",
"D401",
"D105",
"D415",
"D402",
"D205",
"D100",
"D101",
"D107",
"D213",
"ANN204",
"ANN102",
"F722",
"D407",
]
select = ["D", "E", "F", "N", "ANN"]
fixable = [
"A",
"B",
"C",
"D",
"E",
"F",
"G",
"I",
"N",
"Q",
"S",
"T",
"W",
"ANN",
"ARG",
"BLE",
"COM",
"DJ",
"DTZ",
"EM",
"ERA",
"EXE",
"FBT",
"ICN",
"INP",
"ISC",
"NPY",
"PD",
"PGH",
"PIE",
"PL",
"PT",
"PTH",
"PYI",
"RET",
"RSE",
"RUF",
"SIM",
"SLF",
"TCH",
"TID",
"TRY",
"UP",
"YTT",
]
unfixable = []
[tool.ruff.extend-per-file-ignores]
"tests/**/*.py" = ["D"]
"examples/**/*.py" = ["D", "F", "ANN"]
"walkthrough/**/*.py" = ["D", "ANN", "F"]