mirror of
https://github.com/mpusz/mp-units.git
synced 2025-07-31 10:57:16 +02:00
add python formatter
This commit is contained in:
@ -2,7 +2,7 @@ default_stages: [commit]
|
|||||||
|
|
||||||
repos:
|
repos:
|
||||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
rev: v4.1.0
|
rev: v4.2.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: trailing-whitespace
|
- id: trailing-whitespace
|
||||||
- id: end-of-file-fixer
|
- id: end-of-file-fixer
|
||||||
@ -18,3 +18,8 @@ repos:
|
|||||||
# - id: cmake-lint
|
# - id: cmake-lint
|
||||||
# additional_dependencies: ["cmakelang"]
|
# additional_dependencies: ["cmakelang"]
|
||||||
# exclude: "cmake/.*"
|
# 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