-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
39 lines (35 loc) · 999 Bytes
/
.pre-commit-config.yaml
File metadata and controls
39 lines (35 loc) · 999 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
37
38
39
repos:
- repo: https://github.com/pycqa/flake8
rev: 7.0.0
hooks:
- id: flake8
additional_dependencies:
- flake8-absolute-import
args:
- "--max-line-length=88"
- "--exclude=**/migrations/*.py"
- "--extend-ignore=E226,E203"
- repo: https://github.com/psf/black
rev: 24.4.1
hooks:
- id: black
exclude: '(^env/|^venv/|migrations/)'
- repo: https://github.com/pycqa/isort
rev: 5.13.2
hooks:
- id: isort
name: isort (python)
exclude: '(^env/|^venv/|migrations/)'
args: ["--profile", "black"]
- repo: https://github.com/commitizen-tools/commitizen
rev: v3.24.0
hooks:
- id: commitizen
- id: commitizen-branch
stages: [ push ]
- repo: https://github.com/pre-commit/mirrors-eslint
rev: v9.9.1
hooks:
- id: eslint
additional_dependencies: [ 'eslint', '@eslint/js' ]
args: [ '--config', '.eslint/eslint.config.js' ]