python-mss
python-mss copied to clipboard
Use official type annotations
Type annotations are stored in comments, but now that we dropped the Python 2.7 support, we can use them officially. It will fix flake8 issues on the CI in the same time.
We also should add MyPy to the CI in its own Tox testenv. It will be run after the lint one.
It is not yet possible as we still support Python 3.5. Postponing.
Done with be3fb7b427631ebac869888a7f5ff2bc15cb5aa0.