mirror of
https://github.com/Hopiu/django-notifications.git
synced 2026-05-05 03:54:44 +00:00
36 lines
771 B
YAML
36 lines
771 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
|
|
entry: poetry run -- pylint
|
|
language: system
|
|
args: ["--rcfile=pyproject.toml"]
|
|
|
|
- repo: https://github.com/PyCQA/bandit
|
|
rev: 1.7.5
|
|
hooks:
|
|
- id: bandit
|
|
args: ["-c", "pyproject.toml"]
|
|
|
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
|
rev: v1.9.0
|
|
hooks:
|
|
- id: mypy
|