Skip to content

Conversation

@jprakash-db
Copy link
Contributor

What type of PR is this?

Introduced the Ruff formatter and Github actions to check formatting issues

  • Refactor
  • Feature
  • Bug Fix
  • Other

Copilot AI review requested due to automatic review settings January 20, 2026 07:11
@github-actions
Copy link

Thanks for your contribution! To satisfy the DCO policy in our contributing guide every commit message must include a sign-off message. One or more of your commits is missing this message. You can reword previous commit messages with an interactive rebase (git rebase -i main).

Copy link

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 introduces the Ruff formatter as a replacement for Black and adds GitHub Actions to automatically check for formatting issues in the codebase.

Changes:

  • Replaced Black formatter with Ruff formatter across the entire codebase
  • Updated dependency management to remove Black and add Ruff
  • Modified CI/CD workflow to use Ruff for format checking
  • Applied Ruff formatting to all Python files (tests, source code, scripts, and examples)

Reviewed changes

Copilot reviewed 62 out of 63 changed files in this pull request and generated no comments.

Show a summary per file
File Description
pyproject.toml Removed Black dependency, added Ruff ^0.14.13, replaced [tool.black] with [tool.ruff.format] configuration
poetry.lock Updated lock file to reflect removal of Black (and its dependencies: click, pathspec) and addition of Ruff
.github/workflows/code-quality-checks.yml Renamed job from "check-linting" to "code-format-check", updated command from black --check to ruff format --check
tests/unit/*.py Applied Ruff formatting: multi-line parameter formatting, removed trailing whitespace, adjusted blank lines
tests/e2e/*.py Applied Ruff formatting: consistent string quotes, multi-line call formatting, blank line adjustments
src/databricks/sql/*.py Applied Ruff formatting: line continuation improvements, consistent formatting
scripts/dependency_manager.py Applied Ruff formatting: string quote consistency, blank line adjustments
examples/*.py Applied Ruff formatting: removed trailing blank lines, consistent formatting

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

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.

2 participants