2021-10-30 11:29:31 +00:00
|
|
|
repos:
|
|
|
|
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
|
|
rev: v3.2.0
|
|
|
|
hooks:
|
|
|
|
- id: trailing-whitespace
|
|
|
|
- id: end-of-file-fixer
|
|
|
|
- id: check-yaml
|
|
|
|
- id: check-added-large-files
|
|
|
|
|
2021-10-30 12:22:13 +00:00
|
|
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
|
|
|
rev: v0.910
|
|
|
|
hooks:
|
|
|
|
- id: mypy
|
2021-11-05 12:57:11 +00:00
|
|
|
additional_dependencies: [types-redis]
|
2021-10-30 12:22:13 +00:00
|
|
|
|
2021-10-30 11:29:31 +00:00
|
|
|
- repo: https://github.com/pycqa/isort
|
2021-10-30 12:22:13 +00:00
|
|
|
rev: 5.8.0
|
2021-10-30 11:29:31 +00:00
|
|
|
hooks:
|
|
|
|
- id: isort
|
|
|
|
name: isort (python)
|
|
|
|
- id: isort
|
|
|
|
name: isort (cython)
|
|
|
|
types: [cython]
|
|
|
|
- id: isort
|
|
|
|
name: isort (pyi)
|
|
|
|
types: [pyi]
|
|
|
|
|
|
|
|
- repo: https://github.com/psf/black
|
|
|
|
rev: 21.9b0
|
|
|
|
hooks:
|
|
|
|
- id: black
|
|
|
|
language_version: python
|
|
|
|
|
|
|
|
- repo: https://gitlab.com/pycqa/flake8
|
|
|
|
rev: 4.0.1
|
|
|
|
hooks:
|
|
|
|
- id: flake8
|
2021-11-01 13:54:22 +00:00
|
|
|
|
|
|
|
- repo: https://github.com/PyCQA/bandit
|
|
|
|
rev: 1.7.0
|
|
|
|
hooks:
|
|
|
|
- id: bandit
|