Remove linters from requirements-tests.txt (#12725)

This commit is contained in:
Alex Waygood
2024-10-05 14:37:27 +01:00
committed by GitHub
parent 77510ae6a4
commit ad96829bfa
4 changed files with 13 additions and 17 deletions

View File

@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0 # must match requirements-tests.txt
rev: v4.6.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
@@ -27,16 +27,16 @@ repos:
- "--unsafe-fixes"
files: '.*test_cases/.+\.py$'
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 24.8.0 # must match requirements-tests.txt
rev: 24.8.0
hooks:
- id: black
- repo: https://github.com/pycqa/flake8
rev: 7.1.1 # must match requirements-tests.txt
rev: 7.1.1
hooks:
- id: flake8
additional_dependencies:
- "flake8-noqa==1.4.0" # must match requirements-tests.txt
- "flake8-pyi==24.6.0" # must match requirements-tests.txt
- "flake8-noqa==1.4.0"
- "flake8-pyi==24.6.0"
types: [file]
types_or: [python, pyi]
- repo: meta