diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5ed3759b19..fb6b3ce34c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -8,15 +8,13 @@ repos: - id: clang-format - repo: https://github.com/maxwinterstein/shfmt-py - # Latest master revision as of 2023-08-17 allows to run with modern Python - # versions. Switch this back to a tag once there is one :-) - rev: d4491d8 + rev: v3.7.0.1 hooks: - id: shfmt args: ["-w", "-i", "4", "-ci"] -- repo: https://github.com/pre-commit/mirrors-yapf - rev: v0.31.0 +- repo: https://github.com/google/yapf + rev: v0.40.0 hooks: - id: yapf @@ -27,7 +25,7 @@ repos: exclude: '^auxil/.*$' - repo: https://github.com/crate-ci/typos - rev: v1.15.0 + rev: v1.16.8 hooks: - id: typos exclude: '^(.typos.toml|src/SmithWaterman.cc|testing/.*|auxil/.*|scripts/base/frameworks/files/magic/.*|CHANGES)$' diff --git a/testing/scripts/httpd.py b/testing/scripts/httpd.py index 00d7143165..b10c193107 100755 --- a/testing/scripts/httpd.py +++ b/testing/scripts/httpd.py @@ -4,6 +4,7 @@ import http.server as BaseHTTPServer class MyRequestHandler(BaseHTTPServer.BaseHTTPRequestHandler): + def do_GET(self): self.send_response(200) self.send_header("Content-type", "text/plain")