From abb5977a382f1f8b48c30f397b8a79e788060326 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 22 Jul 2025 00:12:09 +0545 Subject: [PATCH] [pre-commit.ci] pre-commit autoupdate (#10811) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- .pre-commit-config.yaml | 2 +- tests/func/test_daemon.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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)