lint fixes

This commit is contained in:
Devaev Maxim
2021-07-08 16:52:51 +03:00
parent 43aa435b81
commit 7c68b6b406
4 changed files with 5 additions and 4 deletions

View File

@@ -37,9 +37,9 @@ def test_ok(tmpdir) -> None: # type: ignore
queue: "multiprocessing.Queue[Literal[True]]" = multiprocessing.Queue()
ustreamer_sock_path = os.path.abspath(str(tmpdir.join("ustreamer-fake.sock")))
open(ustreamer_sock_path, "w").close()
open(ustreamer_sock_path, "w").close() # pylint: disable=consider-using-with
kvmd_sock_path = os.path.abspath(str(tmpdir.join("kvmd-fake.sock")))
open(kvmd_sock_path, "w").close()
open(kvmd_sock_path, "w").close() # pylint: disable=consider-using-with
def ustreamer_fake() -> None:
setproctitle.setproctitle("kvmd/streamer: /usr/bin/ustreamer")