Castor2026/pyproject.toml

37 lines
1017 B
TOML

#
# Use this configuration file to control what RobotPy packages are installed
# on your RoboRIO
#
[tool.robotpy]
# Version of robotpy this project depends on
robotpy_version = "2026.2.2"
# Which optional robotpy components should be installed?
# -> equivalent to `pip install robotpy[extra1, ...]
components = [
#"all",
"apriltag",
"commands2", # Needed for PathPlanner + GenieRobot pattern
# "cscore",
# "romi",
# "sim",
# "xrp",
]
# Other pip packages to install, such as vendor packages (each element
# is equivalent to a line in requirements.txt)
requires = [
"robotpy-rev", # SparkMax (launcher motor)
"robotpy-ctre", # WPI_TalonSRX (deploy motor, Phoenix 5), TalonFX (drive, turret, hopper), CANcoder, Pigeon2
"robotpy-pathplannerlib", # Path following
]
[tool.ruff]
line-length = 120
target-version = "py312"
[tool.ruff.lint]
select = ["E", "F", "W", "I"] # pycodestyle, pyflakes, isort