django-avatar/.pre-commit-config.yaml

30 lines
685 B
YAML
Raw Normal View History

2022-08-09 19:17:24 +00:00
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
2022-08-09 19:17:24 +00:00
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/pycqa/isort
rev: "6.0.0"
2022-08-09 19:17:24 +00:00
hooks:
- id: isort
args: ["--profile", "black"]
- repo: https://github.com/psf/black
rev: 25.1.0
2022-08-09 19:17:24 +00:00
hooks:
- id: black
args: [--target-version=py310]
- repo: https://github.com/pycqa/flake8
rev: '7.1.2'
2022-08-09 19:17:24 +00:00
hooks:
- id: flake8
additional_dependencies:
- flake8-bugbear
- flake8-comprehensions
- flake8-tidy-imports
- flake8-print
args: [--max-line-length=120]