Skip to content

Conversation

@vgvoleg
Copy link
Collaborator

@vgvoleg vgvoleg commented Apr 25, 2025

No description provided.

@vgvoleg vgvoleg changed the title Enable linters Change linters to Ruff and add CI job Apr 25, 2025
@vgvoleg vgvoleg force-pushed the enable_linters branch 7 times, most recently from c7af464 to fd8c2a2 Compare April 25, 2025 13:50
@vgvoleg vgvoleg marked this pull request as draft April 25, 2025 13:53
@vgvoleg vgvoleg force-pushed the enable_linters branch 2 times, most recently from 9ca48be to 0e05ac4 Compare April 25, 2025 14:04
@vgvoleg vgvoleg marked this pull request as ready for review April 25, 2025 14:04
@blinkov blinkov requested a review from Copilot April 25, 2025 14:09
Copy link
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 PR updates the linter configuration to use Ruff and adds a CI job to run linters, alongside a few minor code formatting and type hint improvements. Key changes include:

  • Adding a runtime check for a missing session pool in QueryExecutor.
  • Updating type hints using the union operator (|) for better clarity.
  • Adjusting formatting and simplifying expressions in tests and CI configurations.

Reviewed Changes

Copilot reviewed 21 out of 23 changed files in this pull request and generated no comments.

Show a summary per file
File Description
ydb_mcp/query.py Added a session pool check and updated type hints.
ydb_mcp/connection.py Minor type hint update and string literal adjustments.
ydb_mcp/main.py Removed unneeded f-string for a literal output.
ydb_mcp/init.py Minor reordering of import statements.
tests/* Various formatting improvements and minor cleanup.
pyproject.toml Updated dependencies versions and switched to Ruff config.
.github/workflows/* Added new workflow files for linters and tests.
.github/scripts/increment_version.py Minor formatting adjustments.
Files not reviewed (2)
  • Makefile: Language not supported
  • requirements-dev.txt: Language not supported

@vgvoleg vgvoleg merged commit a975550 into main Apr 25, 2025
3 checks passed
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