Update pre-commit recipe to match mpi branch

这个提交包含在:
Nathan Mannall
2025-03-17 12:16:33 +00:00
父节点 5e583160a2
当前提交 d4a757902c

查看文件

@@ -1,4 +1,5 @@
# See https://pre-commit.com for more information
exclude: '\S*.map'
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
@@ -7,14 +8,15 @@ repos:
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
args: ['--maxkb=1000']
- id: check-toml
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 23.12.0
hooks:
- id: black
args: ["--line-length", "120"] # Adjust the max line length value as needed.
args: ["--line-length", "100"] # Adjust the max line length value as needed.
- repo: https://github.com/pycqa/isort
rev: 5.13.2
hooks:
- id: isort
args: ["--line-length", "120", "--profile", "black"]
args: ["--line-length", "100", "--profile", "black"]