unl-nimbus-lab / pymavswarm

Python library used to safely control drone swarms and drone fleets with MAVLink
https://pymavswarm.readthedocs.io
GNU General Public License v3.0
17 stars 5 forks source link

Replace Union type with pipe #90

Closed evan-palmer closed 2 years ago

evan-palmer commented 2 years ago

Checklist

Changes Made

The existing implementation utilized the Union type hint inconsistently. Specifically, there were situations that utilized the | None union, but others that specified the Union type. This PR replaces all instances of Union with the | operator.

Associated Issues

Closes #88

Files Changes

Testing

Testing was performed by running mypy against the system implementation to verify that no type errors were raised.

Issues Introduced

N/A