-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathpyproject.toml
37 lines (31 loc) · 911 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
[tool.mypy]
check_untyped_defs = true
disallow_any_generics = true
disallow_incomplete_defs = true
disallow_untyped_calls = false
disallow_untyped_defs = true
no_implicit_optional = true
show_error_codes = true
strict_equality = true
strict_optional = true
warn_redundant_casts = true
warn_unreachable = true
warn_unused_configs = true
warn_unused_ignores = true
[[tool.mypy.overrides]]
module = ["requests.*"]
ignore_missing_imports = true
[tool.ruff]
select = ["B", "C", "D", "E", "F", "I", "N", "S", "U", "W"]
ignore = ["E501", "D212", "D103", "D107"]
target-version = "py310"
src = ["resources"]
[tool.ruff.per-file-ignores]
"script.service.hyperion-control/resources/lib/player.py" = ["N802"]
"script.service.hyperion-control/resources/lib/monitor.py" = ["N802"]
[tool.ruff.pydocstyle]
convention = "google"
[tool.ruff.isort]
force-single-line = true
[tool.ruff.pyupgrade]
keep-runtime-typing = true