Skip to content
Snippets Groups Projects

Convert ctx from an ABC to a mypystub

Merged dx requested to merge ctx-as-mypystub into main

Required a bunch of renaming from ctx.Ctx to ctx.Context (its real name)

Makes the docs actually show docstrings

Also apparently mypy doesn't like "from typing_extensions import Protocol" and the fact that it didn't complain so far means that we're probably not type checking everything.

Merge request reports

Pipeline #6118 passed

Pipeline passed for 2439ffad on ctx-as-mypystub

Approval is optional

Merged by q3kq3k 1 year ago (Aug 6, 2023 9:15pm UTC)

Merge details

  • Changes merged into main with 2439ffad.
  • Deleted the source branch.
  • Auto-merge enabled

Pipeline #6119 passed

Pipeline passed for 2439ffad on main

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading