mirror of
https://github.com/Hopiu/django-rosetta.git
synced 2026-03-16 21:30:24 +00:00
29 lines
719 B
YAML
29 lines
719 B
YAML
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v4.0.1
|
|
hooks:
|
|
- id: fix-encoding-pragma
|
|
args: ['--remove']
|
|
- id: debug-statements
|
|
- id: check-merge-conflict
|
|
- id: check-ast
|
|
- id: end-of-file-fixer
|
|
- id: trailing-whitespace
|
|
|
|
- repo: https://github.com/timothycrosley/isort
|
|
rev: 5.7.0
|
|
hooks:
|
|
- id: isort
|
|
additional_dependencies: [toml]
|
|
|
|
- repo: https://github.com/psf/black
|
|
rev: 2d0c14989dca41676fc83fb36f2d652cf93fad58
|
|
hooks:
|
|
- id: black
|
|
|
|
- repo: https://gitlab.com/pycqa/flake8
|
|
rev: 3.8.4
|
|
hooks:
|
|
- id: flake8
|
|
args: ['--config', '.flake8']
|
|
exclude: '.*/migrations/.*|conf'
|