37 lines
805 B
YAML
37 lines
805 B
YAML
repos:
|
|
- repo: https://github.com/PyCQA/bandit
|
|
rev: 1.7.7
|
|
hooks:
|
|
- id: bandit
|
|
args: [-r, -c, .bandit.yml]
|
|
- repo: https://github.com/PyCQA/flake8
|
|
rev: 7.0.0
|
|
hooks:
|
|
- id: flake8
|
|
additional_dependencies:
|
|
- flake8-bugbear
|
|
- flake8-comprehensions
|
|
- flake8-debugger
|
|
#- flake8-docstrings
|
|
- flake8-string-format
|
|
- flake8-type-checking
|
|
- repo: https://github.com/psf/black.git
|
|
rev: 24.2.0
|
|
hooks:
|
|
- id: black
|
|
- repo: https://github.com/pycqa/isort
|
|
rev: 5.13.2
|
|
hooks:
|
|
- id: isort
|
|
- repo: https://github.com/adamchainz/blacken-docs
|
|
rev: 1.16.0
|
|
hooks:
|
|
- id: blacken-docs
|
|
additional_dependencies:
|
|
- black==24.2.0
|
|
- repo: https://github.com/asottile/pyupgrade
|
|
rev: v3.15.2
|
|
hooks:
|
|
- id: pyupgrade
|
|
args: [--py38-plus, --keep-runtime-typing]
|