-
Notifications
You must be signed in to change notification settings - Fork 6
/
pyproject.toml
104 lines (94 loc) · 2.29 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "dg-commons"
version = "0.0.47"
description = "Common tools and utilities related to Driving Games"
authors = ["Alessandro Zanardi <[email protected]>"]
readme = "README.md"
license = "LICENSE"
include = ["LICENSE"]
classifiers = [
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
]
packages = [
{ include = "dg_commons", from = "src" },
]
repository = "https://github.com/idsc-frazzoli/dg-commons"
exclude = ["src/dg_commons_tests/**"]
[tool.poetry.dependencies]
python = "^3.9"
#dg-commonroad-drivability-checker = "2023.11"
commonroad-drivability-checker = "2024.1"
frozendict = "^2.3.4"
cytoolz = "^0.12.0"
cachetools = "^5.0.0"
tqdm = "^4.62.3"
numpy = "^1.21.2"
scipy = "^1.8.0"
matplotlib = "<3.9.0"
shapely = "^2.0.0"
commonroad-io = "2024.1"
zuper-commons-z7 = "7.2"
PyGeometry-z7 = "7.2"
pycontracts3 = "7.2"
xtermcolor = "*"
pytz = "*"
aiofiles = "*"
webcolors = "*"
future = "*"
[tool.poetry.dev-dependencies]
pre-commit = "^3.6.2"
jupyter = "*"
pipdeptree = "^2.2.1"
setuptools = ">=62.1.0"
pytest = "^8"
pytest-cov = "^4"
pytest-xdist = "^3.5.0"
pytest-sugar = "^1.0.0"
pytest-mypy = "^0.10.1"
reprep-z7 = "7.2"
codecov = "^2.1.9"
coverage = { version = "^7.2", extras = ["toml"] }
sphinx = "^7.2.0"
sphinx-rtd-theme = "^2.0.0"
sphinx-autodoc-typehints = "*"
sphinx-autodoc-annotation = "*"
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "-ra -q --pyargs"
testpaths = [
"src/dg_commons_tests",
]
[tool.coverage.run]
branch = true
# concurrency = "multiprocessing"
parallel = true
source = [
"src/dg_commons",
]
[tool.coverage.report]
# Regexes for lines to exclude from consideration
exclude_also = [
# Don't complain if tests don't hit defensive assertion code:
"raise AssertionError",
"raise NotImplementedError",
# Don't complain if non-runnable code isn't run:
"if 0:",
"if False:",
"if __name__ == .__main__.:",
# Don't complain about abstract methods, they aren't run:
"@(abc\\.)?abstractmethod",
]
sort = "Miss"
ignore_errors = true
[tool.coverage.html]
directory = "out/coverage"
[tool.black]
line-length = 120
target-version = ['py311']
[tool.isort]
profile = "black"
line-length = 120