ros2 / launch

Tools for launching multiple processes and for writing tests involving multiple processes.
Apache License 2.0
126 stars 144 forks source link

Update the launch code for newer flake8 and mypy. #719

Closed clalancette closed 1 year ago

clalancette commented 1 year ago

Newer flake8 complains if you use parentheses around assert statements, so fix that.

Newer mypy had a number of minor complaints about our types, so improve the type checking to account for that.

With both of these in place, the code is now clean under the versions of flake8 and mypy in Fedora 38 (5.0.3 and 1.4.0, respectively).

clalancette commented 1 year ago

CI: