Skip to content

Conversation

@blooop
Copy link
Owner

@blooop blooop commented Jan 17, 2026

Summary by Sourcery

Align code quality tooling configuration and dependencies with updated ty usage and dev environment changes.

Build:

  • Pin the ty dependency to version 0.0.12 and update the ty check command to respect ignore files, adjusting the composite lint task dependencies accordingly.

Chores:

  • Update devcontainer and Pixi lockfile metadata to reflect the current development environment setup.

@sourcery-ai
Copy link

sourcery-ai bot commented Jan 17, 2026

Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

Adjusts development tooling configuration to pin the 'ty' dependency to 0.0.12, ensure it respects ignore files, and updates the lint task dependency order along with associated environment config files.

File-Level Changes

Change Details Files
Pin and configure the 'ty' static checking tool and adjust the lint task pipeline.
  • Update the 'ty' dev dependency version constraint to require exactly 0.0.12
  • Change the 'ty' task to run 'ty check' with the '--respect-ignore-files .' flag so it honors ignore files in the repo
  • Reorder the 'lint' composite task dependencies to run 'ruff-lint', then 'ty', then 'pylint'
pyproject.toml
Update development environment configuration artifacts to align with the new tooling setup.
  • Modify devcontainer configuration for the updated tooling environment
  • Refresh pixi.lock to lock dependencies consistent with the new configuration
.devcontainer/devcontainer.json
pixi.lock

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

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

Hey - I've left some high level feedback:

  • Pinning ty to exactly 0.0.12 removes any flexibility for compatible patch updates; consider using a range (e.g. >=0.0.12,<0.0.13) unless there's a known incompatibility you need to avoid.
  • The ty check --respect-ignore-files . change alters which files are analyzed; double-check that all relevant code paths remain covered and that no important files are now unintentionally ignored compared to the previous behavior.
Prompt for AI Agents
Please address the comments from this code review:

## Overall Comments
- Pinning `ty` to exactly `0.0.12` removes any flexibility for compatible patch updates; consider using a range (e.g. `>=0.0.12,<0.0.13`) unless there's a known incompatibility you need to avoid.
- The `ty check --respect-ignore-files .` change alters which files are analyzed; double-check that all relevant code paths remain covered and that no important files are now unintentionally ignored compared to the previous behavior.

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@blooop blooop merged commit fc53253 into main Jan 17, 2026
7 checks passed
@blooop blooop deleted the feature/ssh_cfg branch January 17, 2026 12:15
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