django-notifications/.pre-commit-config.yaml
2023-06-24 00:10:23 +00:00

34 lines
748 B
YAML

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/pycqa/isort
rev: 5.12.0
hooks:
- id: isort
- repo: https://github.com/psf/black
rev: 23.3.0
hooks:
- id: black
- repo: https://github.com/pylint-dev/pylint
rev: v2.17.4
hooks:
- id: pylint
name: pylint
entry: poetry run pylint
language: system
types: [python]
args: ["--rcfile", "pyproject.toml"]
exclude: "migrations"
- repo: https://github.com/PyCQA/bandit
rev: 1.7.5
hooks:
- id: bandit
args: ["-c", "pyproject.toml"]