Martin Thoma
|
c500424956
|
Simplify Python Code
print_with_tab / print_with_whitespace is trivial with Python
string formatting and was mostly used in only 2 lines.
|
2022-04-02 07:32:09 +02:00 |
|
Martin Thoma
|
ae0b6a5015
|
BUG: Hangman (Python) had a List-vs-Str comparison
MAINT: Add type annotations to find such issues
|
2022-03-31 10:33:11 +02:00 |
|
Martin Thoma
|
bf4ac6c3ca
|
Python: Add tests and type annotations
|
2022-03-22 11:58:30 +01:00 |
|
Martin Thoma
|
83b3dc402c
|
Python: Add type annotations
|
2022-03-20 19:16:39 +01:00 |
|
Martin Thoma
|
8495e59a8f
|
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
|
5374569063
|
Python: Fix string concatenation
|
2022-03-15 13:57:28 +01:00 |
|
Martin Thoma
|
af88007734
|
Python: Fix Flake8 E722 and E741
Additionally:
* Use functions to group blocks of code
* Use variable names (not just one character...)
|
2022-03-12 08:17:03 +01:00 |
|
Martin Thoma
|
e64fb6795c
|
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 |
|
Jackson Brouwer
|
75cca25c38
|
Bug fix on defense change
|
2022-01-12 22:50:00 -06:00 |
|
Jackson Brouwer
|
e0b041dfd7
|
Python version
|
2022-01-09 15:05:24 -06:00 |
|