-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
58 lines (47 loc) · 1.14 KB
/
pyproject.toml
File metadata and controls
58 lines (47 loc) · 1.14 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
[build-system]
requires = ["setuptools>=68", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "physical-atari"
version = "0.0.0"
requires-python = ">=3.9"
[tool.setuptools]
include-package-data = true
[tool.setuptools.packages.find]
where = ["."]
include = ["algorithms*", "framework*", "utils*"]
[tool.setuptools.package-data]
"utils.latency_wrap" = ["*.npy"]
[tool.black]
line-length = 120
target-version = ["py39"]
skip-string-normalization = true
[tool.isort]
profile = "black"
line_length = 120
known_third_party = ["torch", "numpy", "ale_py"]
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
[tool.ruff]
line-length = 120
target-version = "py39"
fix = true
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "C90"]
ignore = [
"E501", # line too long (handled by black)
"F403", # 'from module import *' used
"F401", # unused imports (during dev)
]
exclude = ["tests/", "build/", ".venv/"]
[tool.ruff.lint.mccabe]
max-complexity = 60
[tool.ruff.format]
indent-style = "space"
quote-style = "preserve"
line-ending = "lf"
[tool.pyright]
pythonVersion = "3.9"
typeCheckingMode = "basic"