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>
This commit is contained in:
parent
4fbef50d71
commit
8f7ab9b3b3
|
@ -1,3 +1,5 @@
|
|||
# flake8: noqa
|
||||
|
||||
search = {}
|
||||
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# flake8: noqa
|
||||
|
||||
import pytest
|
||||
|
||||
_artists = {"search": {}, "get": {}}
|
||||
|
|
|
@ -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"))
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue