forked from FastLED/FastLED
-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathpyproject.toml
More file actions
192 lines (178 loc) · 4.7 KB
/
pyproject.toml
File metadata and controls
192 lines (178 loc) · 4.7 KB
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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
[project]
name = "ci"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"platformio==6.1.18",
"python-dateutil",
"ruff",
"pyright>=1.1.373",
"types-python-dateutil",
"clang-format",
"pip",
"pytest",
"pytest-xdist",
"fpvgcc",
"uv",
"ziglang",
"ninja",
"cmake",
"download",
"playwright",
"download",
"httpx",
"pytest-xdist",
"sccache>=0.10.0",
"psutil",
"toml>=0.10.2",
"typeguard>=4.4.4",
"mcp>=1.12.2",
"compiledb>=0.10.7",
"pathspec>=0.12.1",
"rich>=14.1.0",
"textual>=1.0.0",
"emoji>=2.14.1",
"pydantic[email]>=2.0.0",
"dirsync>=2.2.6",
"llvm-installer>=1.4.10",
"sys-detection>=1.3.4",
"fasteners>=0.20",
"esptool>=5.0.2",
"docker>=7.0.0",
"pillow>=11.3.0",
"ffmpeg-python>=0.2.0",
"fastled>=1.4.48",
"running-process>=1.0.6",
]
[build-system]
requires = ["hatchling", "hatch-requirements-txt"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
[tool.hatch.build]
packages = ["ci"]
[tool.hatch.metadata]
allow-direct-references = true
[tool.ruff]
exclude = ["ci/tmp", "ci/wasm", "scripts", "native"]
[tool.ruff.lint]
# Enable import sorting (replaces isort)
select = ["I"]
[tool.ruff.lint.isort]
# Configure import sorting to match isort's black profile
force-single-line = false
force-sort-within-sections = false
lines-after-imports = 2
[tool.ruff.format]
# Enable formatting (replaces black)
# Use black-compatible settings
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
[tool.pyright]
include = ["ci", "ci/compiler"]
exclude = [
"ci/tmp/",
"ci/wasm/",
"ci/native/",
"native/",
"**/__pycache__",
"**/.pytest_cache",
"**/.ruff_cache",
"**/node_modules",
"**/.git",
"**/.venv",
"**/.build",
"**/.pio",
"**/.pio_cache",
"**/build",
"**/dist",
"**/*.egg-info",
"tmp.py"
]
# Type checking configuration
typeCheckingMode = "strict"
pythonVersion = "3.11"
pythonPlatform = "All"
useLibraryCodeForTypes = true
analyzeUnannotatedFunctions = true
strictParameterNoneValue = true
strictListInference = true
strictDictionaryInference = true
strictSetInference = true
# Report settings
reportMissingImports = true
reportMissingTypeStubs = false
reportUnusedImport = false
reportUnusedClass = false
reportUnusedFunction = false
reportUnusedVariable = false
reportDuplicateImport = true
reportWildcardImportFromLibrary = true
reportOptionalSubscript = false
reportOptionalMemberAccess = false
reportOptionalCall = false
reportOptionalIterable = false
reportOptionalContextManager = false
reportOptionalOperand = false
reportGeneralTypeIssues = true
reportPropertyTypeMismatch = true
reportFunctionMemberAccess = true
reportPrivateUsage = false
reportConstantRedefinition = false
reportIncompatibleMethodOverride = true
reportIncompatibleVariableOverride = true
reportInconsistentConstructor = true
reportOverlappingOverload = true
reportMissingSuperCall = false
reportUninitializedInstanceVariable = false
reportInvalidStringEscapeSequence = true
reportUnknownParameterType = "error"
reportUnknownArgumentType = "error"
reportUnknownLambdaType = "error"
reportUnknownVariableType = "error"
reportUnknownMemberType = "error"
reportMissingParameterType = "error"
reportMissingTypeArgument = "error"
reportMissingReturnType = "error"
reportUntypedFunctionDecorator = "error"
reportUntypedClassDecorator = "error"
reportUntypedBaseClass = "error"
reportUntypedNamedTuple = "error"
reportInvalidTypeVarUse = true
reportCallInDefaultInitializer = false
reportUnnecessaryIsInstance = false
reportUnnecessaryCast = false
reportUnnecessaryComparison = false
reportUnnecessaryContains = false
reportAssertAlwaysTrue = false
reportSelfClsParameterName = true
reportImplicitStringConcatenation = false
reportUndefinedVariable = true
reportUnboundVariable = true
reportInvalidStubStatement = true
reportIncompleteStub = true
reportUnsupportedDunderAll = true
reportUnusedCallResult = false
reportUnusedCoroutine = true
reportUnusedExpression = false
reportUnnecessaryTypeIgnoreComment = false
reportMatchNotExhaustive = true
# Display settings
verboseOutput = false
autoImportCompletions = false
indexing = false
functionSignatureDisplay = "compact"
# Task list tokens
taskListTokens = ["TODO", "FIXME", "BUG", "HACK", "NOTE"]
[tool.pytest.ini_options]
markers = [
"full: marks tests as requiring the full test suite (deselected during quick Python-only runs)",
"serial: marks tests as requiring serial execution (no parallel execution)",
]
[[tool.pyright.executionEnvironments]]
root = "."
pythonVersion = "3.11"
pythonPlatform = "All"