-
Notifications
You must be signed in to change notification settings - Fork 412
/
pyproject.toml
80 lines (76 loc) · 1.21 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
[build-system]
build-backend = "setuptools.build_meta"
requires = [
"cmake",
"ninja",
"pip",
"setuptools",
"wheel",
]
[tool.black]
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| ^examples/tutorials/notebooks
| ^examples/tutorials/nb_python
| build
| dist
| obselete
| deps
)/
)
'''
[tool.isort]
skip_glob = ["*/deps/*", "*/build/*", "*/obselete/*"]
known_first_party = ["habitat_sim"]
profile = 'black'
treat_comments_as_code = "# %%"
[tool.ruff]
exclude = [
".git",
"__pycache__",
"build",
"data",
"dist",
"docs",
"src/deps",
"tools/run-clang-tidy.py",
]
ignore = [
"A003",
"B018",
"B9",
"C401",
"C402",
"C408",
"RET504",
"RET505",
"SIM105",
"PERF2",
"PERF4",
]
line-length = 88
select = [
"A",
"B",
"C4",
"F",
"RET",
"SIM",
"W",
"PERF",
]
[tool.ruff.per-file-ignores]
"*/__init__.py" = ["F401"]
"examples/tutorials/nb_python/*.py" = [
"B008",
"F841",
]