afrl-rq / OpenUxAS

Project for multi-UAV cooperative decision making
Other
50 stars 24 forks source link

Update uxas tox for mypy and bandit #30

Closed manthonyaiello closed 3 years ago

manthonyaiello commented 3 years ago

This commit solves two problems:

  1. newer mypys want to have typedefs in place for YAML. This is solved by installing the recommended (by mypy) package.

  2. bandit was misconfigured so that it wasn't actually checking anything. This was solved by specifying the src directory for bandit to check. This results in some info messages about the use of the subprocess module, which is not recommended, but which is okay for our purposes. These tests have been disabled so the messages aren't emitted.

manthonyaiello commented 3 years ago

Closing because the state of the PR got smashed by github's autoupdate.