-
Notifications
You must be signed in to change notification settings - Fork 1
/
.pre-commit-config.yaml
98 lines (98 loc) · 2.39 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
repos:
- hooks:
- id: trailing-whitespace
- exclude: .txt$
id: end-of-file-fixer
- id: check-yaml
- exclude: ^.devcontainer/
id: check-json
- args:
- --remove
id: fix-encoding-pragma
- id: forbid-new-submodules
- args:
- --fix=lf
description: Forces to replace line ending by the UNIX 'lf' character.
id: mixed-line-ending
- args:
- --maxkb=500
id: check-added-large-files
- args:
- --branch
- main
id: no-commit-to-branch
repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1
- hooks:
- exclude: ^t2\.py$
id: isort
repo: https://github.com/PyCQA/isort
rev: 5.12.0
- hooks:
- id: black
language_version: python3.10
repo: https://github.com/psf/black
rev: 22.3.0
- hooks:
- args:
- --in-place
- --remove-all-unused-imports
- --remove-unused-variable
id: autoflake
repo: https://github.com/humitos/mirrors-autoflake.git
rev: v1.1
- hooks:
- exclude: migrations/
id: pylint
repo: https://github.com/pycqa/pylint
rev: v2.15.0
- hooks:
- additional_dependencies:
- django-autoslug==1.9.8
- shortuuid>=1.0.1
- django-filter==22.1
- Pillow>=8.1.2
- django-cors-headers==3.14.0
- django-admin-confirm==1.0.0
- django-configurations==2.4
- django-environ==0.9.0
- xlsxwriter==3.0.8
- html2text==2020.1.16
- django==3.2.18
- django-guardian==2.4.0
- django_tiptap==0.0.10
- djangorestframework==3.13.1
- django-nonrelated-inlines==0.2
- graphene==2.1.9
- graphene-django==2.15.0
- django-graphql-auth==0.3.16
- django-graphql-jwt==0.3.0
- PyJWT==1.7.0
- squareup>=9.0.0.20210226
- sentry-sdk==1.14.0
- whitenoise==6.4.0
- django-anymail[amazon_ses]==9.0
- django-inlinecss==0.3.0
- timezonefinder==6.1.9
- pytz==2022.7.1
- django-celery-results==2.2.0
- redis==4.5.1
- pre-commit >= 2.11.0
- black >= 22.3.0
- isort >= 5.10.1
- pylint >= 2.14.0
- django-stubs==1.13.0
- types-python-dateutil==2.8.19.10
- pytest >= 6.2.2
- pytest-sugar >= 0.9.4
- pytest-cov >= 2.11.1
- pytest-django >= 0.2.0
- pytest-factoryboy >= 2.1.0
- coveralls >= 3.0.1
- factory-boy==3.2.1
- faker==17.6.0; python_version >= '3.6'
- jedi==0.18.2; python_version >= '3.6'
- psycopg2-binary
id: mypy
repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.981