You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"isort --profile black {args:} ./src/ ./tests/ ./examples/",
168
+
"pyproject-fmt pyproject.toml",
169
+
"style",
170
170
]
171
171
all = [
172
-
"style",
173
-
"typing",
174
-
]
175
-
176
-
[tool.mypy]
177
-
python_version = 3.9
178
-
mypy_path = "src"
179
-
exclude = [
180
-
"conftest.py"
172
+
"style",
173
+
"typing",
181
174
]
182
-
show_column_numbers = true
183
-
check_untyped_defs = true
184
175
185
-
# Import discovery
186
-
# Install types for third-party library stubs (e.g. from typeshed repository)
187
-
install_types = true
188
-
non_interactive = true
189
-
# Suppresses error messages about imports that cannot be resolved (no py.typed file, no stub file, etc).
190
-
ignore_missing_imports = true
191
-
# Don't follow imports
192
-
follow_imports = "silent"
193
-
194
-
195
-
# Miscellaneous strictness flags
196
-
# Allows variables to be redefined with an arbitrary type, as long as the redefinition is in the same block and nesting level as the original definition.
markers = {ledger_hardware = "marks tests as requiring ledger hardware"}
206
186
207
187
[tool.coverage.run]
208
188
branch = true
209
189
parallel = true
210
190
source = [
211
-
"src/",
191
+
"src/",
212
192
]
213
193
omit = [
214
-
"*/site-packages/*",
194
+
"*/site-packages/*",
215
195
]
216
196
217
197
[tool.coverage.paths]
218
198
source = [
219
-
"src/",
199
+
"src/",
220
200
]
221
201
omit = [
222
-
"*/site-packages/*",
202
+
"*/site-packages/*",
223
203
]
224
204
225
205
[tool.coverage.report]
226
206
show_missing = true
227
207
skip_empty = true
228
208
exclude_lines = [
229
-
# Have to re-enable the standard pragma
230
-
"pragma: no cover",
209
+
# Have to re-enable the standard pragma
210
+
"pragma: no cover",
231
211
232
-
# Don't complain about missing debug-only code:
233
-
"def __repr__",
234
-
"if self\\.debug",
212
+
# Don't complain about missing debug-only code:
213
+
"def __repr__",
214
+
"if self\\.debug",
235
215
236
-
# Don't complain if tests don't hit defensive assertion code:
237
-
"raise AssertionError",
238
-
"raise NotImplementedError",
216
+
# Don't complain if tests don't hit defensive assertion code:
217
+
"raise AssertionError",
218
+
"raise NotImplementedError",
239
219
240
-
# Don't complain if non-runnable code isn't run:
241
-
"if 0:",
242
-
"if __name__ == .__main__.:",
220
+
# Don't complain if non-runnable code isn't run:
221
+
"if 0:",
222
+
"if __name__ == .__main__.:",
243
223
244
-
# Don't complain about ineffective code:
245
-
"pass",
224
+
# Don't complain about ineffective code:
225
+
"pass",
246
226
]
227
+
228
+
[tool.mypy]
229
+
python_version = 3.9
230
+
mypy_path = "src"
231
+
exclude = [
232
+
"conftest.py",
233
+
]
234
+
show_column_numbers = true
235
+
check_untyped_defs = true
236
+
237
+
# Import discovery
238
+
# Install types for third-party library stubs (e.g. from typeshed repository)
239
+
install_types = true
240
+
non_interactive = true
241
+
# Suppresses error messages about imports that cannot be resolved (no py.typed file, no stub file, etc).
242
+
ignore_missing_imports = true
243
+
# Don't follow imports
244
+
follow_imports = "silent"
245
+
246
+
# Miscellaneous strictness flags
247
+
# Allows variables to be redefined with an arbitrary type, as long as the redefinition is in the same block and nesting level as the original definition.
0 commit comments