mirror of
https://github.com/DarrylNixon/drawbridge
synced 2024-04-22 12:17:07 -07:00
29 lines
722 B
YAML
29 lines
722 B
YAML
|
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
|
||
|
- repo: https://github.com/asottile/reorder_python_imports
|
||
|
rev: v3.9.0
|
||
|
hooks:
|
||
|
- id: reorder-python-imports
|
||
|
args: [--application-directories, '.:drawbridge', --py39-plus]
|
||
|
- repo: https://github.com/psf/black
|
||
|
rev: 23.3.0
|
||
|
hooks:
|
||
|
- id: black
|
||
|
language_version: python3.11
|
||
|
- repo: https://github.com/PyCQA/bandit
|
||
|
rev: 1.7.5
|
||
|
hooks:
|
||
|
- id: bandit
|
||
|
args: ["-c", "pyproject.toml"]
|
||
|
additional_dependencies: ["bandit[toml]"]
|
||
|
- repo: https://github.com/pycqa/flake8
|
||
|
rev: 6.0.0
|
||
|
hooks:
|
||
|
- id: flake8
|