-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
92 lines (82 loc) · 2.31 KB
/
Copy pathpyproject.toml
File metadata and controls
92 lines (82 loc) · 2.31 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
88
89
90
91
92
[project]
name = "aac"
version = "1.0.0"
description = "AAC: Admissible-by-Architecture Differentiable Landmark Compression for ALT"
readme = "README.md"
requires-python = ">=3.11"
authors = [
{name = "An T. Le", email = "an@robot-learning.de"},
{name = "Vien A. Ngo"},
]
license = "Apache-2.0"
license-files = ["LICENSE"]
dependencies = [
"torch>=2.12.0",
"scipy>=1.14",
"networkx>=3.2",
"osmnx>=2.1.0",
]
[project.urls]
Homepage = "https://github.com/anindex/aac"
Repository = "https://github.com/anindex/aac"
[project.optional-dependencies]
dev = [
"pytest>=9.0",
"pytest-xdist>=3.5",
"hypothesis>=6.0",
"ruff~=0.15",
"mypy>=2.0",
"pytest-benchmark>=5.0",
]
experiments = [
"hydra-core>=1.3.2",
"omegaconf>=2.3",
"tensorboard>=2.14",
"matplotlib>=3.8",
"seaborn>=0.13",
"pandas>=2.0",
"scikit-learn>=1.5",
"Pillow>=9.0",
]
scalability = [
"networkit>=11.0",
"pyrosm>=0.6.2",
]
[build-system]
requires = ["setuptools>=75.0"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
where = ["src"]
include = ["aac", "aac.*", "experiments", "experiments.*"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-x --tb=short"
markers = [
"gpu: requires CUDA GPU",
"network: requires network access",
"slow: takes > 30 seconds",
]
[tool.ruff]
line-length = 100
target-version = "py311"
src = ["src"]
[tool.ruff.lint]
select = ["E", "F", "I", "W"]
ignore = [
"E501", # line-too-long (scientific formulae / docstrings)
"E702", # multiple-statements-on-one-line (compact matplotlib tick removal)
"E731", # lambda-assignment (common in functional-style scientific code)
"E741", # ambiguous-variable-name (l, I, O are standard math notation)
"E712", # true-false-comparison (acceptable in tests)
"F821", # undefined-name (string-quoted forward references in annotations)
]
[tool.ruff.lint.per-file-ignores]
"scripts/*.py" = ["E402", "F841"] # matplotlib.use("Agg") before imports; result-capture vars
"tests/*.py" = ["E402", "F841"] # fixture imports; assertion intermediate vars
"examples/*.py" = ["E402"] # matplotlib backend setup
[tool.ruff.lint.isort]
known-first-party = ["aac", "experiments"]
[tool.mypy]
python_version = "3.11"
warn_return_any = true
warn_unused_configs = true