Show More
@@ -643,6 +643,13 b' class chgunixservicehandler(object):' | |||||
643 |
|
643 | |||
644 | def __init__(self, ui): |
|
644 | def __init__(self, ui): | |
645 | self.ui = ui |
|
645 | self.ui = ui | |
|
646 | ||||
|
647 | # TODO: use PEP 526 syntax (`_hashstate: hashstate` at the class level) | |||
|
648 | # when 3.5 support is dropped. | |||
|
649 | self._hashstate = None # type: hashstate | |||
|
650 | self._baseaddress = None # type: bytes | |||
|
651 | self._realaddress = None # type: bytes | |||
|
652 | ||||
646 | self._idletimeout = ui.configint(b'chgserver', b'idletimeout') |
|
653 | self._idletimeout = ui.configint(b'chgserver', b'idletimeout') | |
647 | self._lastactive = time.time() |
|
654 | self._lastactive = time.time() | |
648 |
|
655 |
@@ -10,7 +10,6 b' endeavor to empty this list out over tim' | |||||
10 | probably hiding real problems. |
|
10 | probably hiding real problems. | |
11 |
|
11 | |||
12 | mercurial/bundlerepo.py # no vfs and ui attrs on bundlerepo |
|
12 | mercurial/bundlerepo.py # no vfs and ui attrs on bundlerepo | |
13 | mercurial/chgserver.py # [attribute-error] |
|
|||
14 | mercurial/context.py # many [attribute-error] |
|
13 | mercurial/context.py # many [attribute-error] | |
15 | mercurial/crecord.py # tons of [attribute-error], [module-attr] |
|
14 | mercurial/crecord.py # tons of [attribute-error], [module-attr] | |
16 | mercurial/debugcommands.py # [wrong-arg-types] |
|
15 | mercurial/debugcommands.py # [wrong-arg-types] | |
@@ -46,7 +45,6 b' development, but may be a hinderance for' | |||||
46 |
|
45 | |||
47 | $ pytype -V 3.6 --keep-going --jobs auto mercurial \ |
|
46 | $ pytype -V 3.6 --keep-going --jobs auto mercurial \ | |
48 | > -x mercurial/bundlerepo.py \ |
|
47 | > -x mercurial/bundlerepo.py \ | |
49 | > -x mercurial/chgserver.py \ |
|
|||
50 | > -x mercurial/context.py \ |
|
48 | > -x mercurial/context.py \ | |
51 | > -x mercurial/crecord.py \ |
|
49 | > -x mercurial/crecord.py \ | |
52 | > -x mercurial/debugcommands.py \ |
|
50 | > -x mercurial/debugcommands.py \ |
General Comments 0
You need to be logged in to leave comments.
Login now