mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-19 00:41:41 +00:00
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: Ryanforce08 <rradtke1208@gmail.com> Co-authored-by: PJ Reiniger <pj.reiniger@gmail.com> Co-authored-by: Jade Turner <spacey-sooty@proton.me> Co-authored-by: Matt Morley <matthew.morley.ca@gmail.com>
15 lines
292 B
Bash
Executable File
15 lines
292 B
Bash
Executable File
set -e
|
|
# Check if the first argument is provided
|
|
if [ $# -eq 0 ]
|
|
then
|
|
echo "Error: No example-to-run provided."
|
|
exit 1
|
|
fi
|
|
|
|
# Move to the right example folder
|
|
cd $1
|
|
|
|
# Run the example
|
|
mypy --show-column-numbers --config-file ../../photon-lib/py/pyproject.toml .
|
|
python3 robot.py sim
|