Skip to content

[ty] Add a lint rule for combined abstract and final decorators - #26932

Merged
dhruvmanila merged 2 commits into
astral-sh:mainfrom
denyszhak:ty/lint-final-and-abstract
Jul 24, 2026
Merged

[ty] Add a lint rule for combined abstract and final decorators#26932
dhruvmanila merged 2 commits into
astral-sh:mainfrom
denyszhak:ty/lint-final-and-abstract

Conversation

@denyszhak

@denyszhak denyszhak commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

Closes astral-sh/ty#3876

Summary

Lint rule for combined abstract and final decorators

Test Plan

Md tests

@astral-sh-bot astral-sh-bot Bot added the ty Multi-file analysis & type inference label Jul 17, 2026
@astral-sh-bot

astral-sh-bot Bot commented Jul 17, 2026

Copy link
Copy Markdown

Typing conformance results

No changes detected ✅

Current numbers
The percentage of diagnostics emitted that were expected errors held steady at 96.84%. The percentage of expected errors that received a diagnostic held steady at 92.11%. The number of fully passing files held steady at 99/133.

@astral-sh-bot

astral-sh-bot Bot commented Jul 17, 2026

Copy link
Copy Markdown

Memory usage report

Memory usage unchanged ✅

@astral-sh-bot

astral-sh-bot Bot commented Jul 17, 2026

Copy link
Copy Markdown

ecosystem-analyzer results

No diagnostic changes detected ✅

Full report with detailed diff (timing results)

@denyszhak denyszhak changed the title [ty] lint rule for combined final and abstract decorators [ty] lint rule for combined abstract and final decorators Jul 17, 2026
@denyszhak
denyszhak force-pushed the ty/lint-final-and-abstract branch from ea02f1e to 2bee7a5 Compare July 17, 2026 13:57
@denyszhak
denyszhak marked this pull request as ready for review July 17, 2026 14:14
@denyszhak
denyszhak requested review from a team as code owners July 17, 2026 14:15
@astral-sh-bot
astral-sh-bot Bot requested a review from dhruvmanila July 17, 2026 14:15
Comment thread crates/ty_python_semantic/resources/mdtest/final.md
Comment thread crates/ty_python_semantic/src/types/diagnostic.rs Outdated
@denyszhak
denyszhak requested a review from dhruvmanila July 24, 2026 09:42
@dhruvmanila dhruvmanila changed the title [ty] lint rule for combined abstract and final decorators [ty] Add a lint rule for combined abstract and final decorators Jul 24, 2026
@dhruvmanila
dhruvmanila merged commit 7e6e8b7 into astral-sh:main Jul 24, 2026
63 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ty Multi-file analysis & type inference

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Abstract-Final Method

2 participants