mirror of
https://github.com/biopython/biopython.git
synced 2025-10-20 21:53:47 +08:00
[pre-commit.ci] autoupdate
updates: - [github.com/pre-commit/pre-commit-hooks: v5.0.0 → v6.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v5.0.0...v6.0.0) - [github.com/astral-sh/ruff-pre-commit: v0.12.2 → v0.13.3](https://github.com/astral-sh/ruff-pre-commit/compare/v0.12.2...v0.13.3) - https://github.com/psf/black → https://github.com/psf/black-pre-commit-mirror - [github.com/psf/black-pre-commit-mirror: 24.10.0 → 25.9.0](https://github.com/psf/black-pre-commit-mirror/compare/24.10.0...25.9.0) - [github.com/pre-commit/mirrors-mypy: v1.16.1 → v1.18.2](https://github.com/pre-commit/mirrors-mypy/compare/v1.16.1...v1.18.2) - [github.com/asottile/blacken-docs: 1.19.1 → 1.20.0](https://github.com/asottile/blacken-docs/compare/1.19.1...1.20.0)
This commit is contained in:
committed by
Peter Cock
parent
f2004e04da
commit
6cf5841fdf
@ -5,7 +5,7 @@
|
|||||||
#
|
#
|
||||||
repos:
|
repos:
|
||||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
rev: v5.0.0
|
rev: v6.0.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: check-executables-have-shebangs
|
- id: check-executables-have-shebangs
|
||||||
files: \.(py|sh)$
|
files: \.(py|sh)$
|
||||||
@ -15,7 +15,7 @@ repos:
|
|||||||
- id: mixed-line-ending
|
- id: mixed-line-ending
|
||||||
exclude: \.bb$
|
exclude: \.bb$
|
||||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||||
rev: v0.12.2
|
rev: v0.13.3
|
||||||
hooks:
|
hooks:
|
||||||
# Run the Ruff linter.
|
# Run the Ruff linter.
|
||||||
- id: ruff
|
- id: ruff
|
||||||
@ -29,8 +29,8 @@ repos:
|
|||||||
'--config=lint.isort.force-single-line=true',
|
'--config=lint.isort.force-single-line=true',
|
||||||
'--config=lint.isort.order-by-type=false',
|
'--config=lint.isort.order-by-type=false',
|
||||||
]
|
]
|
||||||
- repo: https://github.com/psf/black
|
- repo: https://github.com/psf/black-pre-commit-mirror
|
||||||
rev: 24.10.0
|
rev: 25.9.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: black
|
- id: black
|
||||||
args: [--check,--target-version,py310]
|
args: [--check,--target-version,py310]
|
||||||
@ -42,13 +42,13 @@ repos:
|
|||||||
'flake8-rst-docstrings>=0.2.3',
|
'flake8-rst-docstrings>=0.2.3',
|
||||||
]
|
]
|
||||||
- repo: https://github.com/pre-commit/mirrors-mypy
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
||||||
rev: v1.16.1
|
rev: v1.18.2
|
||||||
hooks:
|
hooks:
|
||||||
- id: mypy
|
- id: mypy
|
||||||
# equivalent to "files" in .mypy.ini
|
# equivalent to "files" in .mypy.ini
|
||||||
files: '^(Bio|BioSQL)/'
|
files: '^(Bio|BioSQL)/'
|
||||||
- repo: https://github.com/asottile/blacken-docs
|
- repo: https://github.com/asottile/blacken-docs
|
||||||
rev: 1.19.1
|
rev: 1.20.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: blacken-docs
|
- id: blacken-docs
|
||||||
additional_dependencies: [black==24.10.0]
|
additional_dependencies: [black==24.10.0]
|
||||||
|
Reference in New Issue
Block a user