Skip to content

Commit 309b7a5

Browse files
romanlutzCopilot
andauthored
MAINT: suppress ty missing-override-decorator rule (#1935)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent ef9fde0 commit 309b7a5

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

pyproject.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,12 @@ unused-ignore-comment = "warn"
179179
unused-type-ignore-comment = "warn"
180180
# Allow empty function bodies during development
181181
empty-body = "ignore"
182+
# ty 0.0.43 (bumped from 0.0.32 in #1919) activated this rule under
183+
# [tool.ty.rules] all = "error". Adopting @override across pyrit/ would require
184+
# the typing_extensions backport on Python 3.10/3.11 (typing.override is 3.12+),
185+
# which adds a direct dep and ongoing import-path friction. Suppressing the
186+
# rule keeps the codebase consistent with the existing pragmatic ignores above.
187+
missing-override-decorator = "ignore"
182188

183189
[tool.ty.analysis]
184190
respect-type-ignore-comments = true

0 commit comments

Comments
 (0)