Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
change
sglang
Commits
ba52fd18
Unverified
Commit
ba52fd18
authored
Mar 20, 2025
by
Hongbo Xu
Committed by
GitHub
Mar 19, 2025
Browse files
Add clang-format to pre-commit config (#4583)
parent
b6944f97
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
.pre-commit-config.yaml
.pre-commit-config.yaml
+6
-0
No files found.
.pre-commit-config.yaml
View file @
ba52fd18
...
@@ -26,6 +26,12 @@ repos:
...
@@ -26,6 +26,12 @@ repos:
rev
:
24.10.0
rev
:
24.10.0
hooks
:
hooks
:
-
id
:
black-jupyter
-
id
:
black-jupyter
-
repo
:
https://github.com/pre-commit/mirrors-clang-format
rev
:
v18.1.8
hooks
:
-
id
:
clang-format
types_or
:
[
c++
,
cuda
]
args
:
[
--style=file
,
--verbose
]
-
repo
:
https://github.com/kynan/nbstripout
-
repo
:
https://github.com/kynan/nbstripout
rev
:
0.8.1
rev
:
0.8.1
hooks
:
hooks
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment