Files
cowrie/.pre-commit-config.yaml
Michel Oosterhof 555ff10d95 Mypy (#1644)
this is release 2.30 many new typing improvements. deprecate python 3.6.
2021-10-17 23:30:18 +08:00

46 lines
933 B
YAML

---
repos:
- repo: https://github.com/asottile/pyupgrade
rev: v2.10.0
hooks:
- id: pyupgrade
args: ["--py37-plus"]
- repo: https://github.com/psf/black
rev: 20.8b1
hooks:
- id: black
- repo: https://gitlab.com/pycqa/flake8
rev: 3.8.4
hooks:
- id: flake8
- repo: https://github.com/asottile/yesqa
rev: v1.2.2
hooks:
- id: yesqa
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.4.0
hooks:
- id: check-merge-conflict
- id: check-yaml
- id: mixed-line-ending
- repo: https://github.com/mattseymour/pre-commit-pytype
rev: '2021.4.9'
hooks:
- id: pytype
- repo: https://github.com/pycqa/isort
rev: 5.8.0
hooks:
- id: isort
name: isort (python)
- id: isort
name: isort (cython)
types: [cython]
- id: isort
name: isort (pyi)
types: [pyi]