Commit Graph

10 Commits

Author SHA1 Message Date
Martin Thoma
2316195b30 Python: Add type annotations 2022-03-20 19:16:39 +01:00
Martin Thoma
dbed6ba98e 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
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
Alvaro Frias Garay
e0eb344288 Added porting notes and original program commentary 2022-01-04 15:45:12 -03:00
Alvaro Frias Garay
296ba00625 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
68dae9181a Updated formatting to look like the original program 2022-01-04 15:15:02 -03:00
Alvaro Frias Garay
1989a86d61 formatting logic updated 2022-01-04 15:12:41 -03:00
Alvaro Frias Garay
7e8d378d47 formatting text updated 2022-01-04 15:10:08 -03:00
Alvaro Frias Garay
1638dcfd1e Added Calendar first implementation
it has some formatting problems
2022-01-04 14:37:22 -03: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