-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathpyproject.toml
60 lines (51 loc) · 1.25 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
[tool.poetry]
name = "rtui-app"
version = "0.2.1"
description = "A TUI tool for ROS1/2"
authors = ["Yuma Hiramatsu <[email protected]>"]
repository = "https://github.com/eduidl/rtui"
license = "Apache License 2.0"
readme = "README.md"
[tool.poetry.scripts]
rtui = "rtui_app.cli:main"
[tool.poetry.dependencies]
python = "^3.8"
click = "^8.1.3"
textual = "^0.40"
typing-extensions = "^4.3.0"
# ROS1/2
netifaces = "^0.11.0"
# ROS1
PyYAML = "^6.0"
rospkg = "^1.4.0"
# ROS2
numpy = "^1.23.0"
[tool.poetry.dev-dependencies]
black = "^23"
flake8 = { version = "^6", python = "^3.10" }
flake8-pyproject = "^1"
isort = "^5"
mypy = "^1"
taskipy = "^1"
[tool.taskipy.tasks]
check_all = "task check && task check_type"
check = "task check_lint && task check_format"
check_lint = "flake8 rtui_app"
check_format = "black . --check && isort . --check --diff"
check_type = "mypy rtui_app"
format = "black . && isort ."
test = "python -m unittest tests -v"
[tool.isort]
profile = "black"
[tool.flake8]
exclude = ".git,.venv,__pycache__,tests/__init__.py"
ignore = "E501"
max_complexity = 15
[tool.mypy]
mypy_path = "typings"
show_error_codes = true
ignore_missing_imports = true
strict = true
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"