← Back to issue list

Remove references to the `overrides` library

View original Github issue

Metadata

Project
starbase
Number
#604
Type
issue
State
open
Author
lengau
Labels
—
Created
Updated
Closed
—

Current evaluation

Maintainer chore: drop leftover `overrides` entries from ruff's ignore-decorators in pyproject.toml; code already uses typing.override/typing_extensions.override. Unlabelled, no discussion yet.

Suggested action: needs triage

Reason: The migration is already done in code: a repo-wide grep for the literal `overrides` returns only four hits, and the only library-related ones are pyproject.toml lines 270-271 ("overrides.override", "overrides.overrides") inside `[tool.ruff.lint.pydocstyle] ignore-decorators`, sitting alongside the already-present `typing.override` and `typing_extensions.override`. Lines 117/122 are unrelated `[[tool.mypy.overrides]]` tables, and `dependencies = []` (line 14) confirms no runtime dep needs dropping, so the task is pinpointed to deleting two dead lines plus rewording the 'next four' comment. Impact is negligible (dead lint config in a template project), so the default needs_triage applies: the issue carries no labels, no comments and no assignee. Confidence is limited only by the repo tool backend failing on final verification calls, so docs/requirements.txt could not be re-checked directly.

Evaluated by: mr-cal-bot

Impact: 18 Quick Win: 14 Complexity: 8 Confidence: 85 Actionability: 85

Issue body

We've replaced it with `typing.override` and `typing_extensions.override` See: https://github.com/canonical/imagecraft/pull/449/changes#r4135884546

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 18
Quick Win: 14
Complexity: 8
Confidence: 85
Actionability: 85
needs triage Maintainer chore: drop leftover `overrides` entries from ruff's ignore-decorators in pyproject.toml; code already uses typing.override/typing_extensions.override. Unlabelled, no discussion yet.
stealth/space-bunny-alpha
Impact: 28
Quick Win: 15
Complexity: 22
Confidence: 64
Actionability: 68
needs triage Maintainer-reported cleanup task: drop remaining uses of the `overrides` package in favour of `typing.override`/`typing_extensions.override` (ref imagecraft PR #449 review comment). Open, unlabelled, no discussion yet.

Update history

Date Change
created

Related work

  • Related To: canonical/imagecraft#449 (confidence 90%)

    Explicitly linked in the issue body; its review comment is the source of this cleanup task.

  • Related To: imagecraft#273 (confidence 78%)

    Sibling-project PR 'style: migrate from overrides library to typing.override', merged as efa5479; same migration starbase must finish for its ruff config.

Related issues

No related issues found above the similarity threshold.