Skip to content
Snippets Groups Projects

Convert ctx from an ABC to a mypystub

Merged dx requested to merge ctx-as-mypystub into main
  1. Aug 06, 2023
    • dx's avatar
      Convert ctx from an ABC to a mypystub · 2439ffad
      dx authored and q3k's avatar q3k committed
      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.
      2439ffad
Loading