From acc356d3a0871a6a4339617684dad0d34720c5ce Mon Sep 17 00:00:00 2001 From: aclist <92275929+aclist@users.noreply.github.com> Date: Fri, 8 Aug 2025 17:40:38 +0900 Subject: [PATCH] chore: resolve QA errors --- helpers/servers.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/helpers/servers.py b/helpers/servers.py index 12f65ce..dc0de57 100644 --- a/helpers/servers.py +++ b/helpers/servers.py @@ -14,10 +14,10 @@ from typing import Union sys.path.append("a2s") import a2s # noqa -from a2s import dayzquery +from a2s import dayzquery # noqa params = [ - r"\nor\1\map\chernarusplus\nor\1\map\sakhal\nor\1\map\enoch\empty\1\nor\1\map\namalsk", + r"\nor\1\map\chernarusplus\nor\1\map\sakhal\nor\1\map\enoch\empty\1\nor\1\map\namalsk", # noqa r"\map\namalsk\empty\1", r"\map\namalsk\noplayers\1", r"\map\chernarusplus\empty\1", @@ -223,7 +223,7 @@ def details(ip: str, qport: int) -> Details: except AttributeError: return Details(None, default_str, False) - battleeye = "Disabled" + battleye = "Disabled" if "battleye" in keywords: battleye = "Enabled" @@ -289,7 +289,7 @@ def ping(iteration: int, row: list) -> Ping: try: res = query_direct(ip, qport, 0.5) - except Exception as e: + except Exception: pass if res is None: