Files
cibuildwheel/.pre-commit-config.yaml
T

46 lines
1.0 KiB
YAML
Raw Normal View History

2020-05-17 18:24:58 +02:00
repos:
2020-08-14 16:12:24 -04:00
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.4.0
2020-08-14 16:12:24 -04:00
hooks:
- id: check-case-conflict
- id: check-merge-conflict
- id: check-yaml
- id: end-of-file-fixer
exclude: (cibuildwheel/resources/pinned_docker_images.cfg)|(.svg$)
2020-08-14 16:12:24 -04:00
- id: mixed-line-ending
- id: trailing-whitespace
2021-01-05 17:54:08 -05:00
- repo: https://github.com/PyCQA/isort
rev: 5.7.0
hooks:
- id: isort
- repo: https://github.com/psf/black
rev: 20.8b1
hooks:
- id: black
files: ^bin/update_pythons.py$
args: ["--line-length=120"]
2020-08-14 16:12:24 -04:00
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.790
2020-08-14 16:12:24 -04:00
hooks:
- id: mypy
files: ^(cibuildwheel/|test/|bin/projects.py|bin/update_pythons.py|unit_test/)
2020-08-14 16:12:24 -04:00
pass_filenames: false
additional_dependencies: [packaging, click]
2021-01-02 10:07:54 -05:00
- repo: https://github.com/asottile/pyupgrade
rev: v2.7.4
hooks:
- id: pyupgrade
args: ["--py36-plus"]
2021-01-02 19:04:47 -05:00
- repo: https://gitlab.com/pycqa/flake8
rev: 3.8.4
hooks:
- id: flake8
exclude: cibuildwheel/resources/
additional_dependencies: [flake8-bugbear]