mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2026-05-01 20:33:02 +00:00
* Update GitHub action and pre-commit settings * Update GitHub action and pre-commit settings (#198)
15 lines
356 B
YAML
15 lines
356 B
YAML
repos:
|
|
- repo: https://github.com/pre-commit/mirrors-yapf
|
|
rev: v0.32.0
|
|
hooks:
|
|
- id: yapf
|
|
args: ['--style=google', '--parallel', '--in-place']
|
|
- repo: https://github.com/pycqa/flake8
|
|
rev: ''
|
|
hooks:
|
|
- id: flake8
|
|
- repo: https://github.com/pre-commit/mirrors-clang-format
|
|
rev: v13.0.0
|
|
hooks:
|
|
- id: clang-format
|