Martin Thoma
4b3b991273
Use docstrings
2022-04-02 08:10:01 +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
83b3dc402c
Python: Add type annotations
2022-03-20 19:16:39 +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
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
Alvaro Frias Garay
f673a3740f
Added porting notes and original program commentary
2022-01-04 15:45:12 -03:00
Alvaro Frias Garay
9b44692b8c
Added parse function for starting day of the week of the year and boolean to check if it's a leap year
...
structured code
2022-01-04 15:31:16 -03:00
Alvaro Frias Garay
6517975e25
Updated formatting to look like the original program
2022-01-04 15:15:02 -03:00
Alvaro Frias Garay
873ca419e1
formatting logic updated
2022-01-04 15:12:41 -03:00
Alvaro Frias Garay
a8f0bb10c6
formatting text updated
2022-01-04 15:10:08 -03:00
Alvaro Frias Garay
05f597b12c
Added Calendar first implementation
...
it has some formatting problems
2022-01-04 14:37:22 -03:00