mirror of
https://github.com/mpusz/mp-units.git
synced 2025-07-30 10:27: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
|
||||
@ -18,3 +18,8 @@ repos:
|
||||
# - id: cmake-lint
|
||||
# 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