[pre-commit.ci] pre-commit autoupdate (#10811)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
pre-commit-ci[bot]
2025-07-22 00:12:09 +05:45
committed by GitHub
parent 50487e931f
commit abb5977a38
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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]
+2 -2
View File
@@ -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)