Skip to content

Добавлены файлы конфигурации для форматирования#35

Merged
love-apples merged 6 commits intolove-apples:mainfrom
Olegt0rr:chore/set-up-formatting
Feb 16, 2026
Merged

Добавлены файлы конфигурации для форматирования#35
love-apples merged 6 commits intolove-apples:mainfrom
Olegt0rr:chore/set-up-formatting

Conversation

@Olegt0rr
Copy link
Copy Markdown
Collaborator

@Olegt0rr Olegt0rr commented Feb 16, 2026

closes #33

  • убрана дублирующая проверка линтера (оставил в разделе lint, убрал в test)
  • в матрицу тестирования добавлена проверка python 3.14
  • добавлен .editorconfig для применения правил оформления проекта в IDE
  • добавлен ruff format в pre-commit
  • удалены зависимости и конфигурации black, isort, pyright, остались ruff и mypy
  • в конфигурации указана минимальная поддерживаемая версия python – 3.10

…ройки для ruff и добавлены проверки формата. Обновлен pyproject.toml для поддержки новых версий Python.
Copilot AI review requested due to automatic review settings February 16, 2026 09:57
@Olegt0rr Olegt0rr marked this pull request as draft February 16, 2026 09:58
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This pull request standardizes code formatting configuration across the project by migrating from separate black/isort tools to unified ruff format, addressing issue #33 about inconsistent formatting policies. The PR adds an .editorconfig file for editor-level formatting consistency and updates CI workflows to enforce ruff format checks.

Changes:

  • Migrated formatting tools from black/isort to ruff format in pre-commit hooks and CI workflows
  • Added .editorconfig for cross-editor formatting consistency
  • Added Python 3.12, 3.13, and 3.14 to supported version classifiers and test matrix
  • Removed black and isort configurations from pyproject.toml and updated ruff settings

Reviewed changes

Copilot reviewed 6 out of 7 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
pyproject.toml Removed black/isort configs, updated Python versions and ruff settings, changed mypy target to 3.10
.pre-commit-config.yaml Replaced isort hook with ruff format, updated hook configurations
Makefile Added new format target using ruff format
.github/workflows/tests.yml Added Python 3.14 to test matrix, removed linting/type checking steps
.github/workflows/lint.yml Added ruff format check step
.editorconfig New file defining editor formatting rules
docs/guides/context.md Fixed missing newline at end of file

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread pyproject.toml
Comment thread .editorconfig
Comment thread .editorconfig
Comment thread pyproject.toml
Comment thread Makefile
Comment thread .editorconfig
Comment thread .editorconfig
@Olegt0rr Olegt0rr marked this pull request as ready for review February 16, 2026 11:21
@love-apples love-apples merged commit 3a1a313 into love-apples:main Feb 16, 2026
7 checks passed
@Olegt0rr Olegt0rr deleted the chore/set-up-formatting branch February 16, 2026 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Форматирование в проекте

3 participants