-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
45 lines (43 loc) · 1.09 KB
/
.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
39
40
41
42
43
44
45
# See https://pre-commit.com for more information
files: .*\.py$
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: trailing-whitespace
exclude: settings\.py
- id: end-of-file-fixer
- id: check-added-large-files
files: ""
- id: debug-statements
files: .*\.py$
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 23.11.0
hooks:
- id: black
- repo: https://github.com/pycqa/isort
rev: 5.12.0
hooks:
- id: isort
args:
- --profile
- black
- --filter-files
- repo: https://github.com/RobertCraigie/pyright-python
rev: v1.1.335
hooks:
- id: pyright
additional_dependencies:
- discord
- cachetools
- rich
- Pillow
- prometheus_client
- tortoise-orm
- git+https://github.com/fastapi-admin/fastapi-admin.git
- aerich==0.6.3
- redis
- repo: https://github.com/csachs/pyproject-flake8
rev: v6.1.0
hooks:
- id: pyproject-flake8