-
-
Notifications
You must be signed in to change notification settings - Fork 134
[TASK] Commits #5 #614
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
Open
Shn4yder
wants to merge
15
commits into
SENATOROVAI:main
Choose a base branch
from
Shn4yder:TASK-Commits-5
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
[TASK] Commits #5 #614
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
095585a
first commit
Shn4yder 9f672a2
[TASK] Quiz #6 (https://github.com/SENATOROVAI/intro-cs/issues/6)
Shn4yder 556bd43
Merge branch 'main' into TASK-Quiz-#6
Shn4yder eb5985e
Merge pull request #1 from Shn4yder/TASK-Quiz-#6
Shn4yder 9ce7f62
[TASK] Cpython #4 (https://github.com/SENATOROVAI/intro-cs/issues/4)
Shn4yder 95e67d5
Merge branch 'main' into TASK-Cpython-#4
Shn4yder b685158
[TASK] Виртуальное окружение #7 (https://github.com/SENATOROVAI/intro…
Shn4yder ef49fba
Merge branch 'TASK-Cpython-#4'
Shn4yder 3f0e9ac
Merge branch 'TASK-Виртуальное-окружение-#7'
Shn4yder dfd3b44
fix: correct rounding function for numbers
Shn4yder ed37514
feat: added generateReport function for exporting data
Shn4yder 76d3597
style: normalize indentation and formatting in project
Shn4yder 32b3a1a
docs: add description for generateReport function
Shn4yder ffd7325
test: add tests for generateReport function
Shn4yder 11e202a
[TASK] Commits #5 (https://github.com/SENATOROVAI/intro-cs/issues/5)
Shn4yder File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -129,6 +129,7 @@ venv/ | |
| ENV/ | ||
| env.bak/ | ||
| venv.bak/ | ||
| SENATOROV/ | ||
|
|
||
| # Spyder project settings | ||
| .spyderproject | ||
|
|
||
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,36 @@ | ||
| { | ||
| "cells": [ | ||
| { | ||
| "cell_type": "code", | ||
| "execution_count": null, | ||
| "id": "5257ea8a", | ||
| "metadata": { | ||
| "vscode": { | ||
| "languageId": "plaintext" | ||
| } | ||
| }, | ||
| "outputs": [], | ||
| "source": [ | ||
| "\"\"\"Лог установки и настройки проекта.\"\"\"" | ||
| ] | ||
| }, | ||
| { | ||
| "cell_type": "markdown", | ||
| "id": "4aac866f", | ||
| "metadata": {}, | ||
| "source": [ | ||
| "07/02\n", | ||
| "1. установлены необходимые программы\n", | ||
| "2. заведены учетные записи\n", | ||
| "3. произведена работа с репозиторием" | ||
| ] | ||
| } | ||
| ], | ||
| "metadata": { | ||
| "language_info": { | ||
| "name": "python" | ||
| } | ||
| }, | ||
| "nbformat": 4, | ||
| "nbformat_minor": 5 | ||
| } |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| """Лог установки и настройки проекта.""" | ||
|
|
||
| # 07/02 | ||
| # 1. установлены необходимые программы | ||
| # 2. заведены учетные записи | ||
| # 3. произведена работа с репозиторием |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,100 @@ | ||
| { | ||
| "cells": [ | ||
| { | ||
| "cell_type": "code", | ||
| "execution_count": null, | ||
| "id": "3fbbd134", | ||
| "metadata": {}, | ||
| "outputs": [], | ||
| "source": [ | ||
| "\"\"\"Ответы на вопросы по TASK 5.\"\"\"" | ||
| ] | ||
| }, | ||
| { | ||
| "cell_type": "markdown", | ||
| "id": "97b5d5d2", | ||
| "metadata": {}, | ||
| "source": [ | ||
| "**1. Опишите своими словами назначение каждого из этих типов коммитов:**\n", | ||
| "- feat - добавление новой функциональности (feature)\n", | ||
| "- fix - решение какой-либо неисправности (бага)\n", | ||
| "- docs - оформление/изменение документации\n", | ||
| "- style - правки, которые не влияют на логику работы кода: исправление отступов, удаление лишних пробелов, приведение форматирования к единому стандарту и др.\n", | ||
| "- refactor - рефакторинг кода - изменение структуры проекта, без изменения функционала\n", | ||
| "- test - работа с тестами, при этом основной код не затрагивается\n", | ||
| "- build - изменениям в системе сборки или внешних зависимостях (добавление/удаление пакетов)\n", | ||
| "- ci - настройка непрерывной интеграции и доставки: изменения в конфигурации, сюда же — правки скриптов деплоя или проверок, которые запускаются автоматически\n", | ||
| "- perf - изменения, которые улучшают производительность кода, скорость работы, потребление памяти, время загрузки\n", | ||
| "- chore - коммит, который не устраняет баг и не вносит новый функционал, а модифицирует или обновляет зависимости\n" | ||
| ] | ||
| }, | ||
| { | ||
| "cell_type": "markdown", | ||
| "id": "941c54d6", | ||
| "metadata": {}, | ||
| "source": [ | ||
| "**2. Представьте, что вы исправили баг в функции, которая некорректно округляет числа. Сделайте фиктивный коммит и напишите для него сообщение в соответствии с Conventional Commits (используя тип fix).**\n", | ||
| "\n", | ||
| "Сообщение для коммита: fix: correct rounding function for numbers" | ||
| ] | ||
| }, | ||
| { | ||
| "cell_type": "markdown", | ||
| "id": "423e424c", | ||
| "metadata": {}, | ||
| "source": [ | ||
| "**3. Добавление новой функциональности:\n", | ||
| "Допустим, вы реализовали новую функцию generateReport в проекте. Сделайте фиктивный коммит с типом feat, отражающий добавление этой функциональности**\n", | ||
| "\n", | ||
| "Сообщение для коммита: feat: added generateReport function for exporting data" | ||
| ] | ||
| }, | ||
| { | ||
| "cell_type": "markdown", | ||
| "id": "cf59f9d7", | ||
| "metadata": {}, | ||
| "source": [ | ||
| "**4. Модификация формата кода или стилей:\n", | ||
| "Представьте, что вы поправили отступы и форматирование во всём проекте, не меняя логики кода. Сделайте фиктивный коммит с типом style**\n", | ||
| "\n", | ||
| "Сообщение для коммита: style: normalize indentation and formatting in project" | ||
| ] | ||
| }, | ||
| { | ||
| "cell_type": "markdown", | ||
| "id": "dbe72c73", | ||
| "metadata": {}, | ||
| "source": [ | ||
| "**5. Сделайте фиктивный коммит с типом docs, добавляющий или улучшающий документацию для вашей новой функции.**\n", | ||
| "\n", | ||
| "Сообщение для коммита: docs: add description for generateReport function" | ||
| ] | ||
| }, | ||
| { | ||
| "cell_type": "markdown", | ||
| "id": "0f0f0fe2", | ||
| "metadata": {}, | ||
| "source": [ | ||
| "**6. Сделайте фиктивный коммит с типом test, добавляющий тесты для этой же функции.**\n", | ||
| "\n", | ||
| "Сообщение для коммита: test: add tests for generateReport function" | ||
| ] | ||
| }, | ||
| { | ||
| "cell_type": "markdown", | ||
| "id": "0b3a5acd", | ||
| "metadata": {}, | ||
| "source": [ | ||
| "**7. Отправьте сюда в комменты ссылку на ваши коммиты https://github.com/ВАШ-ЛОГИН/Data-Science-For-Beginners-from-scratch-SENATOROV/commits/main/**\n", | ||
| "https://github.com/Shn4yder/Data-Science-For-Beginners-from-scratch-SENATOROV/commits/main" | ||
| ] | ||
| } | ||
| ], | ||
| "metadata": { | ||
| "language_info": { | ||
| "name": "python" | ||
| } | ||
| }, | ||
| "nbformat": 4, | ||
| "nbformat_minor": 5 | ||
| } |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,39 @@ | ||
| """Ответы на вопросы по TASK 5.""" | ||
|
|
||
| # **1. Опишите своими словами назначение каждого из этих типов коммитов:** | ||
| # - feat - добавление новой функциональности (feature) | ||
| # - fix - решение какой-либо неисправности (бага) | ||
| # - docs - оформление/изменение документации | ||
| # - style - правки, которые не влияют на логику работы кода: исправление отступов, удаление лишних пробелов, приведение форматирования к единому стандарту и др. | ||
| # - refactor - рефакторинг кода - изменение структуры проекта, без изменения функционала | ||
| # - test - работа с тестами, при этом основной код не затрагивается | ||
| # - build - изменениям в системе сборки или внешних зависимостях (добавление/удаление пакетов) | ||
| # - ci - настройка непрерывной интеграции и доставки: изменения в конфигурации, сюда же — правки скриптов деплоя или проверок, которые запускаются автоматически | ||
| # - perf - изменения, которые улучшают производительность кода, скорость работы, потребление памяти, время загрузки | ||
| # - chore - коммит, который не устраняет баг и не вносит новый функционал, а модифицирует или обновляет зависимости | ||
| # | ||
|
|
||
| # **2. Представьте, что вы исправили баг в функции, которая некорректно округляет числа. Сделайте фиктивный коммит и напишите для него сообщение в соответствии с Conventional Commits (используя тип fix).** | ||
| # | ||
| # Сообщение для коммита: fix: correct rounding function for numbers | ||
|
|
||
| # **3. Добавление новой функциональности: | ||
| # Допустим, вы реализовали новую функцию generateReport в проекте. Сделайте фиктивный коммит с типом feat, отражающий добавление этой функциональности** | ||
| # | ||
| # Сообщение для коммита: feat: added generateReport function for exporting data | ||
|
|
||
| # **4. Модификация формата кода или стилей: | ||
| # Представьте, что вы поправили отступы и форматирование во всём проекте, не меняя логики кода. Сделайте фиктивный коммит с типом style** | ||
| # | ||
| # Сообщение для коммита: style: normalize indentation and formatting in project | ||
|
|
||
| # **5. Сделайте фиктивный коммит с типом docs, добавляющий или улучшающий документацию для вашей новой функции.** | ||
| # | ||
| # Сообщение для коммита: docs: add description for generateReport function | ||
|
|
||
| # **6. Сделайте фиктивный коммит с типом test, добавляющий тесты для этой же функции.** | ||
| # | ||
| # Сообщение для коммита: test: add tests for generateReport function | ||
|
|
||
| # **7. Отправьте сюда в комменты ссылку на ваши коммиты https://github.com/ВАШ-ЛОГИН/Data-Science-For-Beginners-from-scratch-SENATOROV/commits/main/** | ||
| # https://github.com/Shn4yder/Data-Science-For-Beginners-from-scratch-SENATOROV/commits/main | ||
Oops, something went wrong.
Oops, something went wrong.
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.
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.
сделайте ревью, пожалуйста
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.
добавление новой функции лучше писать так: feat: add generateReport function for exporting data.
а так всё верно!