Добавлены файлы конфигурации для форматирования#35
Merged
love-apples merged 6 commits intolove-apples:mainfrom Feb 16, 2026
Merged
Добавлены файлы конфигурации для форматирования#35love-apples merged 6 commits intolove-apples:mainfrom
love-apples merged 6 commits intolove-apples:mainfrom
Conversation
…ройки для ruff и добавлены проверки формата. Обновлен pyproject.toml для поддержки новых версий Python.
Contributor
There was a problem hiding this comment.
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.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…ore/set-up-formatting
IDE случайно добавил!
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.
closes #33
ruff formatвpre-commitblack,isort,pyright, осталисьruffиmypy