chore: привести инфраструктуру к канону кампании и вынести приложение blog - #11
Merged
Conversation
Версия рантайма переезжает в .python-version и берётся оттуда uv-ом, поэтому setup-python из CI убран, requires-python поднят до 3.14. В dependabot добавлены prefix chore и labels, добавлен линт заголовка PR. Линтер в Makefile идёт по всему репозиторию, а не только по пакету проекта, и появилась цель check. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
django-admin startapp кладёт приложение рядом с пакетом проекта, а не внутрь него, поэтому python_django_orm_blog/blog переехал в blog. Метка приложения не изменилась: django берёт её из последнего компонента name, поэтому миграции остаются валидными, makemigrations --check это подтверждает. Раскладку показывают уроки python_django_orm_course, они правятся отдельными коммитами в репозиториях курсов ru и es. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Пачка python-репозиториев кампании
docs/components-modernization.md. Два коммита: инфраструктура и отдельно переезд приложения.Инфраструктура
.python-version(3.14, как в образах кита),setup-pythonиз CI убран: питон ставит uv по этому файлуrequires-python>=3.12→>=3.14labelsиcommit-message.prefix: choreastral-sh/setup-uv@v10.0.0вместоpip install uv, триггеры сужены доmainMakefile: линтер идёт по всему репозиторию, а не только по пакету проекта, появилась цельcheckПереезд приложения
django-admin startappкладёт приложение рядом с пакетом проекта, а не внутрь него, поэтомуpython_django_orm_blog/blog→blog. Правки:INSTALLED_APPSи импорт вblog/tests.py.Метка приложения при этом не меняется: django берёт её из последнего компонента
name. Миграции остаются валидными, подтвержденоmanage.py makemigrations --check --dry-run→No changes detected.Радиус. Это единственный django-репозиторий пачки, чью раскладку показывают уроки:
python_django_orm_courseназываетpython_django_orm_blog/blog/models.pyв таблице состава репозитория, в комментарии блока кода, в выводеmakemigrations, в тексте исключенияDoesNotExistи в deep-link на строку. Уроки правятся отдельными коммитами в репозиториях курсовruиes(вenне правятся, англоязычный сайт закрывается).make lintиmake testзелёные на 3.14.7.🤖 Generated with Claude Code