-
Notifications
You must be signed in to change notification settings - Fork 34
/
pyproject.toml
80 lines (55 loc) · 1.35 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
[tool.black]
line-length = 120
target-version = ["py311"]
include = '\.pyi?$'
[tool.pytest.ini_options]
timeout = 60
addopts = "-rx -rf -x -q --tb=short"
testpaths = ["tests"]
asyncio_mode = "auto"
markers = [
"slow: Marks test as being slow",
]
[tool.mypy]
pretty = true
show_column_numbers = true
show_error_context = true
show_error_codes = true
show_traceback = true
disallow_untyped_defs = true
strict_equality = true
allow_redefinition = true
warn_unused_ignores = true
warn_redundant_casts = true
incremental = true
namespace_packages = false
[[tool.mypy.overrides]]
module = [
"boto3.*",
"moto.*",
"mujoco.*",
"pybullet_utils.*",
]
ignore_missing_imports = true
[tool.isort]
profile = "black"
[tool.ruff]
line-length = 120
target-version = "py310"
[tool.ruff.lint]
select = ["ANN", "D", "E", "F", "I", "N", "PGH", "PLC", "PLE", "PLR", "PLW", "W"]
ignore = [
"ANN101", "ANN102",
"D101", "D102", "D103", "D104", "D105", "D106", "D107",
"N812", "N817",
"PLR0911", "PLR0912", "PLR0913", "PLR0915", "PLR2004",
"PLW0603", "PLW2901",
]
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["E402", "F401", "F403", "F811"]
[tool.ruff.lint.isort]
known-first-party = ["store", "tests"]
combine-as-imports = true
[tool.ruff.lint.pydocstyle]
convention = "google"