chore: fix flake8 warnings

Tested-by: Marge <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2178>
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2178>
environments/review-docs-pre-c-3w4ikk/deployments/15645
jo 2022-11-19 16:56:34 +01:00 zatwierdzone przez Marge
rodzic 4fbef50d71
commit 8f7ab9b3b3
4 zmienionych plików z 7 dodań i 3 usunięć

Wyświetl plik

@ -1,3 +1,5 @@
# flake8: noqa
search = {}

Wyświetl plik

@ -1,3 +1,5 @@
# flake8: noqa
import pytest
_artists = {"search": {}, "get": {}}

Wyświetl plik

@ -3,7 +3,7 @@ from subprocess import call
# initial make
call(["python", "-m", "sphinx", ".", "/tmp/_build"])
from livereload import Server, shell
from livereload import Server, shell # noqa: E402
server = Server()
server.watch("..", shell("python -m sphinx . /tmp/_build"))

Wyświetl plik

@ -69,11 +69,11 @@ def clear_list(inList):
outList = list(dict.fromkeys(inList))
try:
outList.remove("funkwhale-bot")
except:
except IndexError:
pass
try:
outList.remove("weblate (bot)")
except:
except IndexError:
pass
outList.sort()
return outList