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 = {}
|
search = {}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
# flake8: noqa
|
||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
_artists = {"search": {}, "get": {}}
|
_artists = {"search": {}, "get": {}}
|
||||||
|
|
|
@ -3,7 +3,7 @@ from subprocess import call
|
||||||
|
|
||||||
# initial make
|
# initial make
|
||||||
call(["python", "-m", "sphinx", ".", "/tmp/_build"])
|
call(["python", "-m", "sphinx", ".", "/tmp/_build"])
|
||||||
from livereload import Server, shell
|
from livereload import Server, shell # noqa: E402
|
||||||
|
|
||||||
server = Server()
|
server = Server()
|
||||||
server.watch("..", shell("python -m sphinx . /tmp/_build"))
|
server.watch("..", shell("python -m sphinx . /tmp/_build"))
|
||||||
|
|
|
@ -69,11 +69,11 @@ def clear_list(inList):
|
||||||
outList = list(dict.fromkeys(inList))
|
outList = list(dict.fromkeys(inList))
|
||||||
try:
|
try:
|
||||||
outList.remove("funkwhale-bot")
|
outList.remove("funkwhale-bot")
|
||||||
except:
|
except IndexError:
|
||||||
pass
|
pass
|
||||||
try:
|
try:
|
||||||
outList.remove("weblate (bot)")
|
outList.remove("weblate (bot)")
|
||||||
except:
|
except IndexError:
|
||||||
pass
|
pass
|
||||||
outList.sort()
|
outList.sort()
|
||||||
return outList
|
return outList
|
||||||
|
|
Loading…
Reference in New Issue