-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
109 lines (94 loc) · 2.63 KB
/
Copy pathpyproject.toml
File metadata and controls
109 lines (94 loc) · 2.63 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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
[tool.poetry]
name = "slamcore_utils"
version = "0.0.0"
description = "SLAMcore SLAM Utilities"
authors = ["Nikos Koukis <nikolaos@slamcore.com>"]
license = "BSD License"
readme = "README.md"
homepage = "https://github.com/slamcore/slamcore_utils"
repository = "https://github.com/slamcore/slamcore_utils"
include = ["slamcore_utils/py.typed"]
classifiers = [
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"License :: OSI Approved :: BSD License",
"Operating System :: Unix",
]
[tool.poetry.dependencies]
python = ">=3.8.0,<3.12"
questionary = "^1.10.0"
prompt-toolkit = ">3.0,<=3.0.23"
numpy = [
{ version = "^1.19.5", python = "<3.9" },
{ version = "*", python = ">=3.9" },
]
tqdm = { version = "^4.66.1", optional = true }
pillow = { version = "^10.1.0", optional = true }
lark = { version = "^1.1.8", optional = true }
pyyaml = { version = "^6.0.1", optional = true }
[tool.poetry.dev-dependencies]
pytest = "^7.4.3"
black = { version = "^23.10.1", allow-prereleases = true }
isort = "^5.12.0"
mock = "^5.1.0"
pdbpp = "^0.10.3"
mypy = "^1.6.1"
types-setuptools = "^68.2.0.0"
pyright = "^1.1.334"
pyfakefs = "^5.3.0"
pexpect = "^4.8.0"
types-Pillow = "^10.1.0.0"
pre-commit = "^3.5.0"
[tool.poetry.scripts]
slamcore-convert-openloris = "slamcore_utils.scripts.convert_openloris:main"
slamcore-setup-dataset = "slamcore_utils.scripts.setup_dataset:main"
slamcore-convert-rosbag2 = "slamcore_utils.scripts.convert_rosbag2:main"
[tool.poetry.extras]
tqdm = ["tqdm"]
ros2 = ["pillow", "lark", "pyyaml"]
[tool.isort]
line_length = 95
include_trailing_comma = true
multi_line_output = 3
[tool.black]
line-length = 95
target-version = ['py36', 'py37', 'py38']
include = '\.pyi?$'
[tool.mypy]
warn_return_any = true
warn_unused_configs = true
[[tool.mypy.overrides]]
module = [
"geometry_msgs.msg",
"numpy",
"pexpect",
"pytest",
"rclpy.serialization",
"rosbag2_py",
"rosidl_runtime_py.utilities",
"sensor_msgs.msg",
"tqdm",
]
ignore_missing_imports = true
[tool.pyright]
reportMissingImports = true
reportMissingTypeStubs = false
pythonVersion = "3.8"
pythonPlatform = "Linux"
[tool.ruff]
line-length = 95
target-version = "py38"
[tool.pytest.ini_options]
addopts = ["-v", "--doctest-modules"]
[tool.poetry-dynamic-versioning]
enable = true
metadata = false
dirty = false
style = "pep440"
[tool.poetry-dynamic-versioning.files."syncall/__version__.py"]
persistent-substitution = false
[build-system]
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning>=1.0.0,<2.0.0"]
build-backend = "poetry_dynamic_versioning.backend"