Files
cowrie/.pre-commit-config.yaml
Michel Oosterhof 813f35e86d 26apr (#1552)
* typing
* clean also cleans docs/
* ignore twistedchecker exit code
* twistedchecker fixes
* update docs. add copy button
* add missing $ prompts
* updated copyright
* isort
* remove flake8-import order. config flake8/isort/black
* remove import order
* docs restructure
* should pick up settings from setup.cfg
* put conversion code back in. JSON encoding needs it
2021-05-03 23:42:25 +08:00

46 lines
933 B
YAML

---
repos:
- repo: https://github.com/asottile/pyupgrade
rev: v2.10.0
hooks:
- id: pyupgrade
args: ["--py36-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]