mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 09:56:17 +03:00
3446537c60
updates: - [github.com/psf/black: 911470a610e47d9da5ea938b0887c3df62819b85 → f1d4e742c91dd5179d742b0db9293c4472b765f8](911470a610...f1d4e742c9
) - [github.com/PyCQA/isort: fd5ba70665a37ec301a1f714ed09336048b3be63 → c5e8fa75dda5f764d20f66a215d71c21cfa198e1](fd5ba70665...c5e8fa75dd
) - [github.com/asottile/yesqa: 644ede78511c02fc6f8e03e014cc1ddcfbf1e1f5 → 35cf7dc24fa922927caded7a21b2a8cb04bf8e10](644ede7851...35cf7dc24f
) - [github.com/PyCQA/flake8: dcd740bc0ebaf2b3d43e59a0060d157c97de13f3 → cbeb4c9c4137cff1568659fcc48e8b85cddd0c8d](dcd740bc0e...cbeb4c9c41
) - [github.com/pre-commit/pre-commit-hooks: 38b88246ccc552bffaaf54259d064beeee434539 → 8fe62d14e0b4d7d845a7022c5c2c3ae41bdd3f26](38b88246cc...8fe62d14e0
)
47 lines
1.4 KiB
YAML
47 lines
1.4 KiB
YAML
repos:
|
|
- repo: https://github.com/psf/black
|
|
rev: f1d4e742c91dd5179d742b0db9293c4472b765f8 # frozen: 21.12b0
|
|
hooks:
|
|
- id: black
|
|
args: ["--target-version", "py37"]
|
|
# Only .py files, until https://github.com/psf/black/issues/402 resolved
|
|
files: \.py$
|
|
types: []
|
|
|
|
- repo: https://github.com/PyCQA/isort
|
|
rev: c5e8fa75dda5f764d20f66a215d71c21cfa198e1 # frozen: 5.10.1
|
|
hooks:
|
|
- id: isort
|
|
|
|
- repo: https://github.com/asottile/yesqa
|
|
rev: 35cf7dc24fa922927caded7a21b2a8cb04bf8e10 # frozen: v1.3.0
|
|
hooks:
|
|
- id: yesqa
|
|
|
|
- repo: https://github.com/Lucas-C/pre-commit-hooks
|
|
rev: 3592548bbd98528887eeed63486cf6c9bae00b98 # frozen: v1.1.10
|
|
hooks:
|
|
- id: remove-tabs
|
|
exclude: (Makefile$|\.bat$|\.cmake$|\.eps$|\.fits$|\.opt$)
|
|
|
|
- repo: https://github.com/PyCQA/flake8
|
|
rev: cbeb4c9c4137cff1568659fcc48e8b85cddd0c8d # frozen: 4.0.1
|
|
hooks:
|
|
- id: flake8
|
|
additional_dependencies: [flake8-2020, flake8-implicit-str-concat]
|
|
|
|
- repo: https://github.com/pre-commit/pygrep-hooks
|
|
rev: 6f51a66bba59954917140ec2eeeaa4d5e630e6ce # frozen: v1.9.0
|
|
hooks:
|
|
- id: python-check-blanket-noqa
|
|
- id: rst-backticks
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: 8fe62d14e0b4d7d845a7022c5c2c3ae41bdd3f26 # frozen: v4.1.0
|
|
hooks:
|
|
- id: check-merge-conflict
|
|
- id: check-yaml
|
|
|
|
ci:
|
|
autoupdate_schedule: quarterly
|