sapling/eden
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
..
benchmarks replace StartingGate with folly::test::Barrier 2019-08-27 17:09:38 -07:00
cli eden: doctor: suppress FileNotFoundError when checking nuclide 2019-10-04 07:13:28 -07:00
docs Document how globs work 2019-03-07 14:20:57 -08:00
fs eden: collect full command line arguments for eden top on macos 2019-10-04 11:30:36 -07:00
integration Fix type annotation for ExpectedFileSet 2019-10-08 11:18:51 -07:00
locale add a copyright header to glibc_en.po 2019-04-26 14:38:27 -07:00
py build edenfsctl with CMake 2019-09-11 13:20:43 -07:00
scripts update license header in remaining files 2019-06-19 17:02:46 -07:00
test_support support building the integration tests with CMake 2019-10-04 08:56:38 -07:00
test-data enable treemanifest in snapshots 2019-08-28 18:46:03 -07:00
third-party add osxfuse kernel header 2019-03-19 10:26:24 -07:00
win flip EDEN_WIN_NOMONONOKE to EDEN_HAVE_MONONOKE 2019-08-27 17:04:19 -07:00
.gitignore eden: wire up mac contbuild 2019-02-05 21:52:30 -08:00
Eden.project.toml Eden.project.toml file for Nuclide 2018-04-26 11:05:23 -07:00