mirror of
https://github.com/Hopiu/django-notifications.git
synced 2026-05-03 19:14:43 +00:00
34 lines
748 B
YAML
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"]
|