Closed Bug 1759890 Opened 4 years ago Closed 1 year ago

resolve typing issues in Lando

Categories

(Conduit :: Lando, task, P5)

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: sheehan, Assigned: sheehan)

Details

(Keywords: conduit-triaged, leave-open)

Attachments

(34 external files, 2 obsolete files)

Lando has quite a few instances of incorrect or inconsistent uses of Python's gradual typing feature. For example setting a value as name: type = None, and then always using the variable without doing a None-check. We should resolve these typing issues as appropriate.

Attached file GitHub Pull Request —
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Status: RESOLVED → REOPENED
Keywords: leave-open
Resolution: FIXED → ---
Attached file GitHub Pull Request —
Severity: -- → N/A
Keywords: conduit-triaged
Attached file GitHub Pull Request —
Attached file GitHub Pull Request —
Attached file GitHub Pull Request —

Comment on attachment 9304515 [details] [review]
[mozilla-conduit/lando-api] landing_worker: make sleep_seconds a float (Bug 1759890) (#227)

GitHub pull request attachment was moved to bug 1717806. Setting attachment 9304515 [details] [review] to obsolete.

Attachment #9304515 - Attachment is obsolete: true

Comment on attachment 9305617 [details] [review]
[mozilla-conduit/lando-api] typing: add hints and clarify types in various places (Bug 1759890) (#234)

GitHub pull request attachment was moved to bug 1800700. Setting attachment 9305617 [details] [review] to obsolete.

Attachment #9305617 - Attachment is obsolete: true

Closing this out as we have mostly completed adding type hints to Lando, have ruff checking for some annotations rules, and generally require type hints to be added for new code.

Status: REOPENED → RESOLVED
Closed: 4 years ago → 1 year ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: