Martin Thoma
83b3dc402c
Python: Add type annotations
2022-03-20 19:16:39 +01:00
Martin Thoma
3b2739b8a2
Clean Code: Apply flake8-simplify to Python
...
Also flake8-comprehensions which was added to the CI
For flake8-simplify, there are a few false-positives,
e.g. https://github.com/MartinThoma/flake8-simplify/issues/115
2022-03-18 22:29:56 +01:00
Martin Thoma
f52d9a0e54
Clean Code: Python
...
Fix issues found by flake8-bugbear:
* Unused loop variables
* assert statements in non-test code
* mixing test code with production code
* mark one excessive test which takes ~10min to run
as 'slow'
2022-03-18 14:59:08 +01:00
Martin Thoma
a721c91557
Python: Add Continuous Integration for Python
...
There are a lot of exceptions, but it's a start.
This will ensure that no more issues get added / that issues
get fixed before the code is added
2022-03-09 21:29:06 +01:00