Closed rnestler closed 2 years ago
It would probably be good to run mypy --strict simple_pid
during CI to avoid issues like this. Also since Python 2 is EOL you could consider removing Python 2 support and use inline type annotations, which are easier to manage.
You are right, mypy should be run in CI to detect things like this. I will create an issue for this.
It seems that
output_limits
is defined twice: Once on line 17 and then again on line 45 and 46.