jo 2022-11-19 16:56:34 +01:00 committed by Marge
parent 4fbef50d71
commit 8f7ab9b3b3
4 changed files with 7 additions and 3 deletions

View File

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

View File

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

View File

@ -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"))

View File

@ -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