Watson icon indicating copy to clipboard operation
Watson copied to clipboard

Some collected cleanups

Open MaxG87 opened this issue 4 years ago • 1 comments

When I wanted to work on some bug that keeps nagging me, I noticed that support or Python 3.5 was dropped. I also noticed some minor negligencese I could not resist to improve.

This PR resolves these negligences and adds static analysis by mypy. Mypy mostly checks static types but can detect also some other problems like tatulogical conditions or unreachable code.

Please note that while complete this PR is also a kind of RFC. If it is accepted, I might add some more type hints and the related refactorings with further PRs. So feel free to nit-pick a lot here ;-).

MaxG87 avatar Jun 04 '21 16:06 MaxG87

I force pushed fixes for the overly long lines.

MaxG87 avatar Jun 09 '21 18:06 MaxG87