m-lundberg / simple-pid

A simple and easy to use PID controller in Python
MIT License
792 stars 216 forks source link

Simple formatting improvements. #83

Open AbelHutten opened 6 months ago

AbelHutten commented 6 months ago

This pull request provides simple stylistic improvements. Some of these are not compatible with Python 2.

Feel free to cherry pick of course, or tell me how you would like me to change this PR so it can be accepted.

Thanks for reviewing my improvements!

m-lundberg commented 1 day ago

Are all these changes still compatible with Python 3.6? I know it reached it's end-of-life a couple of years back, but this library still promises to be compatible currently. And in general I like to keep backwards compatibility when it's not hard to do so, to make sure the code is compatible with as many environments as possible.