sapling/eden/integration/snapshot
Ken Yong Quan Oung b80e719c81 Fix type annotation for ExpectedFileSet
Summary:
## Backstory
Pyre was throwing errors in my diff (D17747558) regarding an extraneous fixme. Turns out PyreBot has been adding and removing these fixmes during version updates (see D17135557 and D16183608), so I suspect it's something to do with the Pyre version. Anyways, I figured it'd be easier to do the annotation than to remove the fixme and risk Pyre throwing the same error in a later diff.

## What I did
I added the Key type (Path) and Value type(ExpectedFileBase). mypy then started throwing an error regarding __iter__ returning the wrong type because it wanted an iterator over keys rather than values. Fixed that and added .values() to the for loop.

Reviewed By: genevievehelsel

Differential Revision: D17806135

fbshipit-source-id: c07feee33db78a9bff19ba9856a7047657b8c63e
2019-10-08 11:18:51 -07:00
..
types Update pyre version for eden 2019-08-30 13:37:34 -07:00
gen_snapshot.py support building the integration tests with CMake 2019-10-04 08:56:38 -07:00
inode_metadata.py update license headers in .py files 2019-06-19 17:02:46 -07:00
snapshot.py always ensure that the contents of the .eden/ directory are correct 2019-09-11 22:02:16 -07:00
test_snapshots.py Update pyre version for eden 2019-08-30 13:37:34 -07:00
unpack_snapshot.py update license headers in .py files 2019-06-19 17:02:46 -07:00
verify.py Fix type annotation for ExpectedFileSet 2019-10-08 11:18:51 -07:00