mirror of
https://github.com/facebook/sapling.git
synced 2024-10-06 23:07:18 +03:00
Lint failure adding annotations to eden/scm/edenscm/dirstate.py
Reviewed By: quark-zju Differential Revision: D42573407 fbshipit-source-id: 9cc19f28cb544a233889289c1a749a34f12e7889
This commit is contained in:
parent
9a7ee24565
commit
787f7e8cd5
@ -110,9 +110,8 @@ ParentChangeCallback = Callable[
|
||||
]
|
||||
|
||||
|
||||
# pyre-fixme[3]: Return type must be annotated.
|
||||
# pyre-fixme[2]: Parameter must be annotated.
|
||||
def fastreadp1(repopath):
|
||||
def fastreadp1(repopath) -> Optional[bytes]:
|
||||
"""Read dirstate p1 node without constructing repo or dirstate objects
|
||||
|
||||
This is the first 20-bytes of the dirstate file. All known dirstate
|
||||
|
Loading…
Reference in New Issue
Block a user