Commit Graph

6 Commits

Author SHA1 Message Date
Martin Thoma
2316195b30 Python: Add type annotations 2022-03-20 19:16:39 +01:00
Martin Thoma
71e3396bd5 Python: Make code testable
Avoid executing code on module level as this prevents importing the
module for testing. Especially infinite loops are evil.
2022-03-19 09:54:52 +01:00
Martin Thoma
bf6681e3b0 Python: Fix linting issues
The following Flake8 issues were fixed:

* W291
* W504

* F821
* F401
* F541

* E402
* E711
2022-03-14 13:13:20 +01:00
Martin Thoma
93e1a78363 MAINT: Apply pre-commit
Remove byte-order-marker pre-commit check as there would be
many adjustments necessary
2022-03-05 09:29:23 +01:00
Thomas Brox Røst
e79acdac57 Added Python 3 version of 29, craps. 2022-01-02 12:20:27 +01:00
Chris Reuter
5f664bc71d Removed spaces from top-level directory names.
Spaces tend to cause annoyances in a Unix-style shell environment.
This change fixes that.
2021-11-21 18:30:21 -05:00