-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
36 lines (36 loc) · 946 Bytes
/
.pre-commit-config.yaml
File metadata and controls
36 lines (36 loc) · 946 Bytes
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
repos:
- repo: https://github.com/ambv/black
rev: 25.1.0
hooks:
- id: black
name: black
language: python
types: [python]
description: "Black: The uncompromising Python code formatter"
# language_version: python3.9
files: \.(py)$
- repo: https://github.com/PyCQA/flake8
rev: 7.2.0
hooks:
- id: flake8
files: \.(py)$
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.12.0
hooks:
# Run the linter.
- id: ruff-check
files: \.(py)$
# Run the formatter.
- id: ruff-format
files: \.(py)$
- repo: https://github.com/commitizen-tools/commitizen
rev: v4.8.3 # Replace with latest tag
hooks:
- id: commitizen
- repo: https://github.com/rtts/djhtml
rev: "3.0.8" # replace with the latest tag on GitHub
hooks:
- id: djhtml
- id: djcss
- id: djjs