forked from tier4/driving_log_replayer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
76 lines (67 loc) · 2.49 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
[project]
name = "driving-log-replayer"
version = "2.3.6"
description = "command line tool for driving_log_replayer"
authors = [
{ name = "Hayato Mizushima", email = "hayato.mizushima@tier4.jp" },
{ name = "Kotaro Uetake", email = "kotaro.uetake@tier4.jp" },
{ name = "Koji Minoda", email = "koji.minoda@tier4.jp" },
{ name = "Kosuke Takeuchi", email = "kosuke.takeuchi@tier4.jp" },
{ name = "Keisuke Shima", email = "keisuke.shima@tier4.jp" },
]
dependencies = [
"termcolor>=2.4.0",
"natsort>=8.4.0",
"pyyaml>=6.0.1",
"toml>=0.10.2",
"click>=8.1.7",
"pandas>=2.2.0",
"plotly>=5.19.0",
"simplejson>=3.19.2",
"pydantic>=2.6.1",
"kaleido>=0.2.1",
]
readme = "README.md"
requires-python = ">=3.10,<3.11"
license = "Apache-2.0"
[project.scripts]
dlr = "driving_log_replayer_cli:main"
dlr-analyzer = "driving_log_replayer_analyzer:main"
[project.optional-dependencies]
docs = [
"mkdocs>=1.5.3",
"mkdocs-material>=9.5.9",
"mkdocs-awesome-pages-plugin>=2.9.2",
"mkdocs-static-i18n>=1.2.0",
"mdx-truly-sane-lists>=1.3",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.uv]
# https://github.com/astral-sh/uv/issues/7703
constraint-dependencies = ["kaleido!=0.2.1.post1"]
dev-dependencies = [
"ruff>=0.5.7",
"pytest>=8.1.1",
]
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.wheel]
packages = ["driving_log_replayer_cli", "driving_log_replayer_analyzer/driving_log_replayer_analyzer"]
[tool.ruff]
line-length = 100
output-format = "full"
[tool.ruff.lint]
# https://beta.ruff.rs/docs/rules/
select = ["A", "B", "C", "D", "E", "F", "G", "I", "N", "Q", "S", "T", "W", "ANN", "ARG", "BLE", "COM", "DJ", "DTZ", "EM", "ERA", "EXE", "FBT", "ICN", "ISC", "NPY", "PD", "PGH", "PIE", "PL", "PT", "PTH", "PYI", "RET", "RSE", "RUF", "SIM", "SLF", "TCH", "TID", "TRY", "UP", "YTT"]
ignore = ["Q000", "ANN101", "ANN102", "ANN401", "PGH004", "E501", "PLR0913", "S101", "S301", "S603", "SIM115", "D100", "D101", "D102", "D103", "D104", "D105", "D106", "D107", "D203", "D212", "D404", "D417", "PD011", "PD002", "PD901", "COM812", "ISC001"]
fixable = ["D", "I", "ANN", "COM", "EXE", "PIE"]
[tool.ruff.lint.isort]
# https://pycqa.github.io/isort/docs/configuration/options.html#default-section
force-sort-within-sections = true
known-third-party = ["launch", "yaml"]
force-single-line = true
# https://beta.ruff.rs/docs/settings/#isort-relative-imports-order
relative-imports-order = "closest-to-furthest"
order-by-type = false