-
Notifications
You must be signed in to change notification settings - Fork 30
/
.pre-commit-config.yaml
38 lines (38 loc) · 1022 Bytes
/
.pre-commit-config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
repos:
- repo: https://github.com/psf/black
rev: 23.7.0
hooks:
- id: black
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.3.5
hooks:
- id: ruff
args: [ --fix, --exit-non-zero-on-fix ]
- repo: local
hooks:
- id: pytest
name: pytest-ruff
language: system
entry: pytest --ruff
pass_filenames: false
stages: [push]
- id: makemigrations
name: makemigrations --check
language: system
entry: ./manage.py makemigrations --check
pass_filenames: false
stages: [push]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.2.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
exclude: cdk/lambdas/wdiv-s3-trigger/tests/fixtures/.*
- id: trailing-whitespace
exclude: cdk/lambdas/wdiv-s3-trigger/tests/fixtures/.*
- id: check-json
- repo: https://github.com/rtts/djhtml
rev: v1.5.0
hooks:
- id: djhtml