Skip to content

ty as yet another type checker - #5058

Merged
happz merged 1 commit into
mainfrom
pre-commit-ty
Sep 2, 2026
Merged

ty as yet another type checker#5058
happz merged 1 commit into
mainfrom
pre-commit-ty

Conversation

@happz

@happz happz commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Still heavily reduced ruleset, but over time, things should improve.

Pull Request Checklist

  • implement the feature

@happz happz added the code | type annotations Related to type annotations and type cleanup label Jul 14, 2026
@happz happz added this to planning Jul 14, 2026
@happz happz added the test coverage Improvements or additions to test coverage of tmt itself label Jul 14, 2026
@github-project-automation github-project-automation Bot moved this to backlog in planning Jul 14, 2026
@happz happz added the ci | full test Pull request is ready for the full test execution label Jul 14, 2026
@happz
happz marked this pull request as ready for review July 14, 2026 06:35

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request integrates the ty pre-commit hook, configures its rules in pyproject.toml, and updates the return type of execute in tmt/guest/__init__.py to be optional. Correct the typo call-top-callable to call-non-callable in the pyproject.toml configuration.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread pyproject.toml
@happz happz moved this from backlog to review in planning Jul 14, 2026

@LecrisUT LecrisUT left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Should start type-checking the tests also at some point

@happz happz moved this from review to merge in planning Aug 27, 2026
@therazix therazix added this to the 1.79 milestone Aug 27, 2026
Still heavily reduced ruleset, but over time, things should improve.
@happz
happz merged commit 2b972c9 into main Sep 2, 2026
35 checks passed
@happz
happz deleted the pre-commit-ty branch September 2, 2026 06:13
@github-project-automation github-project-automation Bot moved this from merge to done in planning Sep 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci | full test Pull request is ready for the full test execution code | type annotations Related to type annotations and type cleanup test coverage Improvements or additions to test coverage of tmt itself

Projects

Status: done

Development

Successfully merging this pull request may close these issues.

4 participants