Skip to content
  • Matt Harbison's avatar
    typing: add type hints to mercurial/win32.py · a9faacdc5943
    Matt Harbison authored
    These are the low level functions that are imported by the mercurial.windows
    module, which is in turn imported by mercurial.utils as the platform module.
    Pretty straightforward, but pytype inferred very little of it, likely because of
    the heavy ctypes usage.  It also seems to trigger a pytype bug in procutil, now
    that it has an idea of the underlying function type, so disable that warning to
    maintain a working test.
    a9faacdc5943