[pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/pycqa/isort: 5.13.2 → 6.0.1](https://github.com/pycqa/isort/compare/5.13.2...6.0.1)
- [github.com/psf/black-pre-commit-mirror: 24.10.0 → 25.1.0](https://github.com/psf/black-pre-commit-mirror/compare/24.10.0...25.1.0)
- [github.com/pre-commit/mirrors-clang-format: v19.1.5 → v20.1.0](https://github.com/pre-commit/mirrors-clang-format/compare/v19.1.5...v20.1.0)
This commit is contained in:
pre-commit-ci[bot] 2025-03-17 17:24:13 +00:00 committed by GitHub
parent 44d4053fec
commit 624b5978bb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -8,21 +8,21 @@ repos:
args: ['--in-place', '--remove-unused-variables', '--remove-all-unused-imports', '--ignore-init-module-imports'] args: ['--in-place', '--remove-unused-variables', '--remove-all-unused-imports', '--ignore-init-module-imports']
- repo: https://github.com/pycqa/isort - repo: https://github.com/pycqa/isort
rev: 5.13.2 rev: 6.0.1
hooks: hooks:
- id: isort - id: isort
name: sort all imports (python) name: sort all imports (python)
args: ["--profile", "black"] # avoid conflict with black args: ["--profile", "black"] # avoid conflict with black
- repo: https://github.com/psf/black-pre-commit-mirror - repo: https://github.com/psf/black-pre-commit-mirror
rev: 24.10.0 rev: 25.1.0
hooks: hooks:
- id: black - id: black
name: black formatter name: black formatter
args: ['--line-length=120', '--target-version=py37', '--target-version=py38', '--target-version=py39','--target-version=py310'] args: ['--line-length=120', '--target-version=py37', '--target-version=py38', '--target-version=py39','--target-version=py310']
- repo: https://github.com/pre-commit/mirrors-clang-format - repo: https://github.com/pre-commit/mirrors-clang-format
rev: v19.1.5 rev: v20.1.0
hooks: hooks:
- id: clang-format - id: clang-format
name: clang formatter name: clang formatter