Files
typeshed/.pre-commit-config.yaml
Jelle Zijlstra 1f1bc6f27c add pre-commit config (#6341)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Akuli <akuviljanen17@gmail.com>
2021-11-19 16:46:51 +02:00

20 lines
565 B
YAML

repos:
- repo: https://github.com/psf/black
rev: 21.11b1 # must match requirements-tests-py3.txt
hooks:
- id: black
language_version: python3.9
- repo: https://github.com/pycqa/isort
rev: 5.10.1 # must match requirements-tests-py3.txt
hooks:
- id: isort
name: isort (python)
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: []
submodules: false