Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ColossalAI
Commits
2e1dbfb4
Unverified
Commit
2e1dbfb4
authored
Oct 18, 2022
by
HELSON
Committed by
GitHub
Oct 18, 2022
Browse files
[pre-commit] update pre-commit (#1726)
* update pre-commit * update pre-commit
parent
c626b239
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
0 deletions
+26
-0
.isort.cfg
.isort.cfg
+5
-0
.pre-commit-config.yaml
.pre-commit-config.yaml
+21
-0
No files found.
.isort.cfg
0 → 100644
View file @
2e1dbfb4
[settings]
line_length = 120
multi_line_output=3
include_trailing_comma = true
ignore_comments = true
.pre-commit-config.yaml
View file @
2e1dbfb4
repos
:
repos
:
-
repo
:
https://github.com/pycqa/isort
rev
:
5.10.1
hooks
:
-
id
:
isort
name
:
sort all imports (python)
-
repo
:
https://github.com/pre-commit/mirrors-yapf
-
repo
:
https://github.com/pre-commit/mirrors-yapf
rev
:
v0.32.0
rev
:
v0.32.0
hooks
:
hooks
:
-
id
:
yapf
-
id
:
yapf
name
:
yapf formatter
args
:
[
'
--style=.style.yapf'
,
'
--parallel'
,
'
--in-place'
]
args
:
[
'
--style=.style.yapf'
,
'
--parallel'
,
'
--in-place'
]
-
repo
:
https://github.com/pre-commit/mirrors-clang-format
-
repo
:
https://github.com/pre-commit/mirrors-clang-format
rev
:
v13.0.1
rev
:
v13.0.1
hooks
:
hooks
:
-
id
:
clang-format
-
id
:
clang-format
name
:
clang formatter
-
repo
:
https://github.com/pre-commit/pre-commit-hooks
rev
:
v4.3.0
hooks
:
-
id
:
check-yaml
-
id
:
check-merge-conflict
-
id
:
check-case-conflict
-
id
:
trailing-whitespace
-
id
:
end-of-file-fixer
-
id
:
mixed-line-ending
args
:
[
'
--fix=lf'
]
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