fizzlebert / pydeepspace

The Drop Bears' robot code for FIRST Destination: Deep Space (2019)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pydeepspace

Build Status codecov Code style: black

The Drop Bears' robot code for FIRST Destination: Deep Space (FRC 2019).

Install dependencies

pip3 install -r requirements.txt

Style

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

black .

This is enforced by CI.

See PEP 8 on naming conventions.

Docstrings should follow Google style. See also PEP 257.

Checks

Ensure code passes pyflakes, a static analysis checker:

pyflakes .

This is enforced by CI.

Run

Simulation (desktop)

./robot.py sim

Tests

./robot.py test

If you wish to collect coverage data, use this instead:

./robot.py coverage test

Deploy to roboRIO

./robot.py deploy

This codebase is set up to deploy to 4774's robot. (Use the --robot option to override this.)

About

The Drop Bears' robot code for FIRST Destination: Deep Space (2019)

License:MIT License


Languages

Language:Python 100.0%