-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
85 lines (71 loc) · 1.92 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
[tool.mypy]
mypy_path = "stubs"
warn_unused_ignores = true
warn_return_any = true
show_error_codes = true
strict_optional = true
implicit_optional = true
disallow_any_unimported = true
disallow_subclassing_any = true
#disallow_any_generics = true
disallow_untyped_calls = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
disallow_untyped_decorators = true
check_untyped_defs = true
[tool.isort]
atomic = true
balanced_wrapping = true
known_first_party = "sbot"
# hanging grid grouped indent style wrapping
multi_line_output = 5
include_trailing_comma = true
[tool.pytest.ini_options]
markers = [
"hardware: mark a test that requires hardware to be connected",
]
[build-system]
requires = ["setuptools>=45", "wheel", "setuptools_scm>=6.2"]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
write_to = "sbot/_version.py"
[tool.setuptools]
packages = ["sbot"]
[project]
name = "sbot"
description = "The robot API for the Smallpeice summer school"
authors = [{name = "SourceBots", email = "[email protected]"}]
readme = "README.md"
license = {file = "LICENSE"}
dynamic = ["version"]
requires-python = ">=3.8"
dependencies = [
"pyserial >=3,<4",
"april_vision==2.2.0",
"typing-extensions; python_version<'3.10'",
]
classifiers = [
"Topic :: Software Development :: Libraries :: Python Modules",
"Operating System :: OS Independent",
"Development Status :: 5 - Production/Stable",
"Typing :: Typed",
"Topic :: Education",
]
[project.urls]
Repository = "https://github.com/sourcebots/sbot"
Homepage = "https://sourcebots.co.uk"
Documentation = "https://docs.sourcebots.co.uk"
[project.optional-dependencies]
dev = [
"flake8",
"isort",
"mypy==1.10.0; python_version<'3.9'",
"mypy>=1.7,<2; python_version>='3.9'",
"build",
"types-pyserial",
"pytest",
"pytest-cov",
"paho-mqtt >=2,<3"
]
vision = ["opencv-python-headless >=4,<5"]
mqtt = ["paho-mqtt >=2,<3"]