/pytrainingday

Training for using git, python and robotpy for 2023 season

Primary LanguagePythonMIT LicenseMIT

2023 programming training session

The Drop Bears' repository for training in using git, python, robotpy and such

Install dependencies

pip3 install -r requirements-sim.txt

pre-commit

This project has pre-commit.com set up.

Code style

This codebase adheres to the code style enforced by the black autoformatter:

black .

This is enforced by CI. To install this:

pip3 install black

See PEP 8 on naming conventions.

Docstrings should follow Google style. See also PEP 257.

Run

Simulation (desktop)

python robot.py sim

Deploy to robot

python robot.py deploy

This project is configured to automatically deploy to 4774's robot.