deps: remove duplicate lint checks

This commit is contained in:
Xuehai Pan 2025-03-16 23:07:45 +08:00
parent 669f7b32c6
commit 2fbf791e5c
5 changed files with 144 additions and 207 deletions

View file

@ -27,30 +27,11 @@ repos:
- id: debug-statements
- id: double-quote-string-fixer
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.10.0
rev: v0.11.0
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
- id: ruff-format
- repo: https://github.com/asottile/pyupgrade
rev: v3.19.1
hooks:
- id: pyupgrade
args: [--py38-plus] # sync with requires-python
- repo: https://github.com/pycqa/flake8
rev: 7.1.2
hooks:
- id: flake8
additional_dependencies:
- flake8-bugbear
- flake8-comprehensions
- flake8-docstrings
- flake8-pyi
- flake8-simplify
exclude: |
(?x)(
^docs/source/conf.py$
)
- repo: https://github.com/codespell-project/codespell
rev: v2.4.1
hooks: