forked from NVlabs/GR00T-WholeBodyControl
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
87 lines (76 loc) · 1.69 KB
/
pyproject.toml
File metadata and controls
87 lines (76 loc) · 1.69 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
# Root pyproject.toml — tooling configuration only.
# To install packages, use:
# pip install -e decoupled_wbc/ (or decoupled_wbc[full], decoupled_wbc[dev])
# pip install -e gear_sonic/ (or gear_sonic[teleop], gear_sonic[sim])
[tool.black]
line-length = 100
include = '\.pyi?$'
exclude = '''
(
__pycache__
| \.git
| \.mypy_cache
| \.pytest_cache
| \.vscode
| \.venv
| \bdist\b
| \bdoc\b
| external_dependencies
| logs
| source
| /(
| external_dependencies/
)/
)
'''
[tool.isort]
profile = "black"
multi_line_output = 3
skip = [
"external_dependencies",
"external_dependencies/**",
]
skip_glob = [
"external_dependencies/*",
]
[tool.pyright]
reportPrivateImportUsage = false
[tool.ruff]
line-length = 115
target-version = "py310"
exclude = [
"gear_sonic/dexmg",
"external_dependencies",
"external_dependencies/**",
"./external_dependencies/**",
"*.ipynb",
]
[tool.ruff.lint]
select = ["E", "F", "I"]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]
[tool.ruff.lint.isort]
case-sensitive = false
combine-as-imports = true
force-sort-within-sections = true
from-first = false
single-line-exclusions = ["typing"]
section-order = ["future", "standard-library", "third-party", "first-party", "local-folder"]
[tool.mypy]
ignore_missing_imports = true
no_site_packages = true
check_untyped_defs = true
exclude = [
"external_dependencies",
]
[[tool.mypy.overrides]]
module = "tests.*"
strict_optional = false
[tool.pytest.ini_options]
testpaths = "decoupled_wbc/tests/"
python_classes = [
"Test*",
"*Test"
]
log_format = "%(asctime)s - %(levelname)s - %(name)s - %(message)s"
log_level = "DEBUG"