-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
94 lines (83 loc) · 1.97 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
[tool.coverage.run]
branch = true
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"raise NotImplementedError",
"if __name__ == .__main__.:",
"if typing.TYPE_CHECKING:",
]
[tool.mypy]
check_untyped_defs = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_unreachable = true
strict_equality = true
[tool.pytest.ini_options]
addopts = "--strict-markers -v --maxfail=2"
pythonpath = "."
testpaths = ["tests"]
xfail_strict = true
[tool.ruff]
target-version = "py39"
[tool.ruff.lint]
select = [
# pycodestyle
"E",
# pyflakes
"F",
# flake8-bugbear
"B",
# pyupgrade
"UP",
# flake8-comprehensions
"C4",
# flake8-logging-format
"G",
# flake8-simplify
"SIM",
# flake8-print
"T20",
# perflint
"PERF",
]
ignore = ["E501"]
[tool.pdm]
package-type = "application"
[tool.pdm.scripts]
deploy = "robotpy --main {args}/robot.py deploy"
download = "robotpy sync --no-install"
sim = "robotpy --main {args}/robot.py sim"
test = "robotpy --main {args}/robot.py test --"
[tool.pdm.dev-dependencies]
dev = ["hypothesis", "pytest>=7.2.0", "pytest-integration>=0.2.3"]
typing = ["mypy>=1.8.0"]
[project]
name = "pysysid"
version = "0.0.0"
description = "The Drop Bears' ongoing system identification code"
authors = [{ name = "The Drop Bears", email = "[email protected]" }]
readme = "README.md"
license = { text = "MIT" }
requires-python = ">=3.10,<3.13"
dependencies = [
"phoenix6~=24.2.0",
"robotpy==2024.3.1.0",
"robotpy-commands-v2~=2024.3.1",
"robotpy-navx~=2024.1.0",
"robotpy-rev~=2024.2.1",
"robotpy-urcl~=2024.0.1",
]
[tool.robotpy]
requires = [
"phoenix6~=24.2.0",
"robotpy-commands-v2~=2023.3.1",
"robotpy-navx~=2024.1.0",
"robotpy-rev~=2024.2.1",
"robotpy-urcl~=2024.0.1",
# Not needed for these routines, but keep them on the robot for production.
"numpy",
"photonlibpy",
]
robotpy_version = "2024.3.1.0"
robotpy_extras = ["apriltag"]