Skip to content

2. Устинов Семён Михайлович. 614 - #78

Open
SimencaSs wants to merge 24 commits into
python-department:mainfrom
SimencaSs:completed-task-2
Open

SimencaSs wants to merge 24 commits into
python-department:mainfrom
SimencaSs:completed-task-2

Conversation

@SimencaSs

Copy link
Copy Markdown

No description provided.

@github-actions github-actions Bot added the 614 label Oct 2, 2026

@EvgrafovMichail EvgrafovMichail left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

У вас не пройден ruff + из-за изменения относительных путей на абсолютные не пройден mypy. Статические проверки не пройдены. По нашим критериям - это 0

Comment thread src/part2/cart.py

from .crud import read_product, update_product # noqa: F401
from .storage import ( # noqa: F401
from part2.crud import read_product

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Вы поменяли относительные импорты на абсолютные. Из-за этого тесты сломались.

Comment thread pyproject.toml

[tool.ruff.lint]
extend-select = ["I", "Q"]
per-file-ignores = { "src/part2/storage.py" = ["PYI064"], "src/part2/cart.py" = ["PYI064"] }

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Так делать нельзя. Нельзя добавлять игнорирование ошибок линтера

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants