mirror of https://github.com/zeromq/pyzmq.git
33 lines
861 B
YAML
33 lines
861 B
YAML
exclude: ^zmq/eventloop/minitornado/
|
|
repos:
|
|
- repo: https://github.com/psf/black
|
|
rev: 21.8b0
|
|
hooks:
|
|
- id: black
|
|
- repo: https://github.com/pre-commit/mirrors-prettier
|
|
rev: v2.4.0
|
|
hooks:
|
|
- id: prettier
|
|
- repo: https://github.com/PyCQA/flake8
|
|
rev: 3.9.2
|
|
hooks:
|
|
- id: flake8
|
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
|
rev: v0.910
|
|
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]
|
|
additional_dependencies:
|
|
- types-paramiko
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v4.0.1
|
|
hooks:
|
|
- id: end-of-file-fixer
|
|
- id: check-executables-have-shebangs
|
|
- id: requirements-txt-fixer
|