deepsource-autofix[bot]
446393b078
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.
2024-01-14 14:18:05 +00:00
pre-commit-ci[bot]
66b39c4cac
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-01-14 14:10:15 +00:00
dmunozv04
321a9e6e9b
reformat DIAL license
2024-01-14 15:09:30 +01:00
pre-commit-ci[bot]
ecb3583c35
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-01-14 14:03:37 +00:00
pre-commit-ci[bot]
a4f0b5fffe
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-01-14 13:47:14 +00:00
dmunozv04
c3fd67df27
Clean code and fix #121
2023-12-29 16:19:44 +01:00
dmunozv04
35652b6247
Improve exit behaviour
2023-12-29 15:39:41 +01:00
dmunozv04
8ab9cf9519
Improve logging and add hack to view
...
one short
2023-12-26 19:34:24 +01:00
dmunozv04
f4fbbcdff5
Remove connect fix now that it's been pushed upstream
2023-12-19 08:24:45 +01:00
dmunozv04
863ec5e163
Fixes Will not start v2.0.3 #112
2023-12-09 19:08:20 +01:00
dmunozv04
fede94e973
ensures data_dir isn't saved to disk
2023-12-07 14:26:14 +01:00
dmunozv04
8d76bdd1c1
attempt to fix ad skips
2023-12-04 11:18:12 +01:00
dmunozv04
7b6f9bd8a0
Sync with main
...
Co-authored-by: tsia <github@tsia.de >
Co-authored-by: kot0dama <89980752+kot0dama@users.noreply.github.com >
Co-authored-by: boltgolt <boltgolt@gmail.com >
2023-11-29 11:33:29 +01:00
dmunozv04
5a5ebcfeb7
move directories and data path
2023-11-17 11:38:22 +01:00