-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tests/ci #16
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Хорошее начало, только небольшие правки по codestyle
import os | ||
|
||
from django.core.asgi import get_asgi_application | ||
|
||
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'adaptive_hockey_federation.settings') | ||
os.environ.setdefault('DJANGO_SETTINGS_MODULE', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Мы проекте будем переносить строки другим способом
foo(
'bar',
'foo',
)
Это относится ко всем подобным изменениям
pyproject.toml
Outdated
@@ -9,6 +9,7 @@ readme = "README.md" | |||
python = "^3.11" | |||
django = "^4.2.6" | |||
gunicorn = "^21.2.0" | |||
django-stubs = "^4.2.4" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
это зависимость тестовая, нужно перенести в группу test
Добавлены тесты flake8 и mypy
Для mypy использована библиотека django-stubs, внесены настройки в poetry
Поправлены все ошибки для полного прохождения github worklows