mirror of
https://github.com/mpusz/mp-units.git
synced 2025-07-29 18:07:16 +02:00
add python formatter
This commit is contained in:
@ -2,7 +2,7 @@ default_stages: [commit]
|
||||
|
||||
repos:
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v4.1.0
|
||||
rev: v4.2.0
|
||||
hooks:
|
||||
- id: trailing-whitespace
|
||||
- id: end-of-file-fixer
|
||||
@ -16,5 +16,10 @@ repos:
|
||||
- id: cmake-format
|
||||
additional_dependencies: ["cmakelang[YAML]"]
|
||||
# - id: cmake-lint
|
||||
# additional_dependencies: ["cmakelang"]
|
||||
# exclude: "cmake/.*"
|
||||
# additional_dependencies: ["cmakelang"]
|
||||
# exclude: "cmake/.*"
|
||||
- repo: https://github.com/psf/black
|
||||
rev: 22.3.0
|
||||
hooks:
|
||||
- id: black
|
||||
language_version: python3
|
||||
|
Reference in New Issue
Block a user