mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
pre-commit: autoupdate
...except for clang-format, because versions after v13.0.0 have borked the Whitesmith formatting. Also moves yapf from pre-commit/mirrors-yapf to google/yapf.
This commit is contained in:
parent
d81cb9d10e
commit
f766669b73
2 changed files with 5 additions and 6 deletions
|
@ -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)$'
|
||||
|
|
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue