-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #275 from ZUS666/develop
test
- Loading branch information
Showing
36 changed files
with
1,908 additions
and
117 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -173,4 +173,4 @@ static/ | |
**/locconf.py | ||
|
||
*.json | ||
*.sql | ||
*.sql |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.2.0 | ||
hooks: | ||
- id: trailing-whitespace # убирает лишние пробелы | ||
- id: check-added-large-files # проверяет тяжелые файлы на изменения | ||
- id: check-yaml # проверяет синтаксис .yaml файлов | ||
- id: check-json # проверяет синтаксис .json файлов | ||
exclude: launch.json | ||
- id: check-case-conflict # проверяет файлы, которые могут конфликтовать в файловых системах без учета регистра. | ||
- id: check-merge-conflict # проверяет файлы, содержащие конфликтные строки слияния. | ||
- id: double-quote-string-fixer # заменяет " на ' | ||
- id: end-of-file-fixer # добавляет пустую строку в конце файла | ||
|
||
# Отсортировывает импорты в проекте | ||
- repo: https://github.com/pycqa/isort | ||
rev: 5.12.0 | ||
hooks: | ||
- id: isort | ||
name: isort (python) | ||
|
||
# Обновляет синтаксис Python кода в соответствии с последними версиями | ||
- repo: https://github.com/asottile/pyupgrade | ||
rev: v2.31.1 | ||
hooks: | ||
- id: pyupgrade | ||
args: [--py310-plus] | ||
|
||
# Форматирует код под PEP8 | ||
- repo: https://github.com/pre-commit/mirrors-autopep8 | ||
rev: v2.0.1 | ||
hooks: | ||
- id: autopep8 | ||
args: [--max-line-length=80, --in-place] | ||
|
||
# Сканер стилистических ошибок, нарушающие договоренности PEP8 | ||
- repo: https://github.com/PyCQA/flake8 | ||
rev: 6.0.0 | ||
hooks: | ||
- id: flake8 | ||
exclude: "__init__.py" | ||
args: ["--ignore=F821,F403,F405"] | ||
|
||
# Проверка статических типов с помощью mypy | ||
- repo: https://github.com/pre-commit/mirrors-mypy | ||
rev: v0.991 | ||
hooks: | ||
- id: mypy | ||
exclude: 'migrations' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
[[source]] | ||
url = "https://pypi.org/simple" | ||
verify_ssl = true | ||
name = "pypi" | ||
|
||
[packages] | ||
boto3 = "==1.28.66" | ||
celery = {extras = ["redis"], version = "==5.3.4"} | ||
django = "==4.2.5" | ||
django-celery-beat = "==2.5.0" | ||
django-cors-headers = "==3.8.0" | ||
django-filter = "==23.2" | ||
django-gmailapi-backend = "==0.3.2" | ||
django-phonenumber-field = {extras = ["phonenumberslite"], version = "==7.1.0"} | ||
django-cleanup = "==8.0.0" | ||
django-ckeditor = "==6.7.0" | ||
djangorestframework = "==3.14.0" | ||
django-storages = "==1.14.2" | ||
djoser = "==2.2.0" | ||
drf-api-logger = "==1.1.14" | ||
drf-spectacular = "==0.26.4" | ||
flower = "==2.0.1" | ||
gunicorn = "==21.2.0" | ||
phonenumbers = "==8.13.20" | ||
pillow = "==10.0.1" | ||
psycopg2-binary = "==2.9.7" | ||
python-dotenv = "==1.0.0" | ||
django-celery-results = "==2.5.1" | ||
pre-commit = "*" | ||
|
||
[dev-packages] | ||
|
||
[requires] | ||
python_version = "3.11" | ||
python_full_version = "3.11.0" |
Oops, something went wrong.