Commit graph

5 commits

Author SHA1 Message Date
deepsource-autofix[bot] 55c5fc482c
refactor: refactor unnecessary else / elif when if block has a return statement
The use of `else` or `elif` becomes redundant and can be dropped if the last statement under the leading `if` / `elif` block is a `return` statement.
In the case of an `elif` after `return`, it can be written as a separate `if` block.
For `else` blocks after `return`, the statements can be shifted out of `else`. Please refer to the examples below for reference.

Refactoring the code this way can improve code-readability and make it easier to maintain.
2023-09-27 18:20:34 +00:00
Michał 1a59e413a9 Move colours to HSL, probably a mistake 2023-09-26 19:36:49 +01:00
Michał 9821db72c6 Yeet old runner script as it was useless
Clean up code and styling
2023-09-26 13:43:00 +01:00
Michał bdecdaff7c Fix broken runner.py 2023-09-24 10:48:03 +01:00
Michał d19a33501a 🦞 2023-08-04 17:34:08 +00:00