Skip to content

Commit b5cf834

Browse files
committed
Update pre-commit hooks
1 parent e9f9039 commit b5cf834

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v5.0.0
3+
rev: v6.0.0
44
hooks:
55
- id: trailing-whitespace
66
- id: end-of-file-fixer
@@ -9,7 +9,7 @@ repos:
99
- id: check-added-large-files
1010

1111
- repo: https://github.com/astral-sh/ruff-pre-commit
12-
rev: v0.11.9
12+
rev: v0.14.7
1313
hooks:
1414
- id: ruff
1515
# fix imports:

scripts/pretix-mock.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@
166166

167167

168168
class RequestHandler(http.server.BaseHTTPRequestHandler):
169-
def do_GET(self) -> None: # noqa: N802 (function name should be lowercase)
169+
def do_GET(self) -> None:
170170
"""Handle GET requests."""
171171
path = urlparse(self.path).path # strip query parameters
172172

0 commit comments

Comments
 (0)