pyzmq/.pre-commit-config.yaml

31 lines
801 B
YAML

exclude: ^zmq/eventloop/minitornado/
repos:
- repo: https://github.com/psf/black
rev: 20.8b1
hooks:
- id: black
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v2.2.1
hooks:
- id: prettier
- repo: https://gitlab.com/pycqa/flake8
rev: 3.8.4
hooks:
- id: flake8
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.812
hooks:
- id: mypy
files: zmq/.*
# mypy gets the wrong results
# if we pass specific files instead of the zmq dir
# no idea why
pass_filenames: false
args: [zmq]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.4.0
hooks:
- id: end-of-file-fixer
- id: check-executables-have-shebangs
- id: requirements-txt-fixer