diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 06302d38c..6c5eae69b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -22,7 +22,7 @@ repos: - id: sort-simple-yaml - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: 'v0.12.3' + rev: 'v0.12.4' hooks: - id: ruff-check args: [--fix, --exit-non-zero-on-fix] diff --git a/tests/func/test_daemon.py b/tests/func/test_daemon.py index 070ea31b9..1f7bbc98a 100644 --- a/tests/func/test_daemon.py +++ b/tests/func/test_daemon.py @@ -51,13 +51,13 @@ def make_request_handler(): data = self.rfile.read(int(length)).decode("utf8") sys.stderr.write(f"{data}\n") - def do_POST(self): # noqa: N802 + def do_POST(self): # analytics endpoint self.hits["POST"] += 1 self.send_response(200) super().end_headers() - def do_GET(self): # noqa: N802 + def do_GET(self): # updater endpoint self.hits["GET"] += 1 self.send_response(200)