-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
106 lines (96 loc) · 2.04 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
95
96
97
98
99
100
101
102
103
104
105
106
[tool.coverage.run]
branch = true
omit = ["config.py", "config-3.py"]
[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.pyright]
exclude = [
"ctre_sim",
"logs",
# Default excludes
"**/__pycache__",
"**/.*",
]
[tool.pytest.ini_options]
addopts = "--strict-markers -v --maxfail=2"
pythonpath = "."
testpaths = ["tests"]
xfail_strict = true
[tool.ruff]
target-version = "py311"
[tool.ruff.lint]
select = [
# pycodestyle
"E",
# pyflakes
"F",
# flake8-bugbear
"B",
# isort
"I",
# pyupgrade
"UP",
# flake8-comprehensions
"C4",
# flake8-logging-format
"G",
# flake8-simplify
"SIM",
# flake8-print
"T20",
# perflint
"PERF",
]
ignore = [
"E501", # long lines
"B905", # zip() without strict=
]
[tool.uv]
dev-dependencies = [
"hypothesis>=6.112.1",
"mypy>=1.8.0",
"pytest>=7.2.0",
"pytest-integration>=0.2.3",
]
prerelease = "allow"
[project]
name = "pyreefscape"
version = "0.0.0"
description = "The Drop Bears' FRC 2025 robot code"
authors = [{ name = "The Drop Bears", email = "[email protected]" }]
readme = "README.md"
license = { text = "MIT" }
requires-python = ">=3.12,<3.14"
dependencies = [
"numpy~=2.2",
"phoenix6~=25.1.0",
"robotpy-ctre==2025.0.0",
"robotpy[apriltag]==2025.2.1.3",
"robotpy-rev~=2025.0.1",
"robotpy-wpilib-utilities==2025.0.0",
"photonlibpy==2025.1.1",
"sleipnirgroup-choreolib>=2025.0.2",
]
[tool.robotpy]
requires = [
"numpy==2.2.1.dev0; platform_machine == 'roborio'",
"phoenix6~=25.1.0",
"robotpy-ctre==2025.0.0",
"robotpy-rev~=2025.0.1",
"robotpy-wpilib-utilities==2025.0.0",
"photonlibpy==2025.1.1",
"sleipnirgroup-choreolib>=2025.0.2",
]
robotpy_version = "2025.2.1.3"
robotpy_extras = ["apriltag"]