Martin Thoma
b65dca80f6
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
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
83c8a8ae95
39_golf: Python implementation
2022-03-17 09:53:23 +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
fed9b92672
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
ef2122456a
Python: Fix Flake8 issue E712 + PEP8 variable naming
2022-03-11 21:42:23 +01:00
Martin Thoma
596aa6760f
Python: Fix code style issues
2022-03-11 07:44:56 +01:00
Martin Thoma
60ed862b39
next try ..
2022-03-09 21:35:47 +01:00
Martin Thoma
801a0d54e4
master is called main
2022-03-09 21:33:52 +01:00
Martin Thoma
d456556cdb
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