Files
typeshed/.pre-commit-config.yaml
pre-commit-ci[bot] 12671e87e2 Bump black and isort (#9356)
updates:
- [github.com/psf/black: 22.10.0 → 22.12.0](https://github.com/psf/black/compare/22.10.0...22.12.0)
- [github.com/pycqa/isort: 5.10.1 → 5.11.1](https://github.com/pycqa/isort/compare/5.10.1...5.11.1)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2022-12-13 02:09:02 +00:00

33 lines
1.1 KiB
YAML

repos:
- repo: https://github.com/hadialqattan/pycln
rev: v2.1.2 # must match requirements-tests.txt
hooks:
- id: pycln
args: [--config=pyproject.toml, stubs, stdlib, tests, scripts]
- repo: https://github.com/psf/black
rev: 22.12.0 # must match requirements-tests.txt
hooks:
- id: black
language_version: python3.9
- repo: https://github.com/pycqa/isort
rev: 5.11.1 # must match requirements-tests.txt
hooks:
- id: isort
name: isort (python)
- repo: https://github.com/pycqa/flake8
rev: 6.0.0 # must match requirements-tests.txt
hooks:
- id: flake8
additional_dependencies:
- 'flake8-bugbear==22.10.27' # must match requirements-tests.txt
- 'flake8-noqa==1.3.0' # must match requirements-tests.txt
- 'flake8-pyi==22.11.0' # must match requirements-tests.txt
ci:
autofix_commit_msg: '[pre-commit.ci] auto fixes from pre-commit.com hooks'
autofix_prs: true
autoupdate_commit_msg: '[pre-commit.ci] pre-commit autoupdate'
autoupdate_schedule: weekly
skip: [flake8]
submodules: false