Tags: charygao/pyre-check
Tags
Back out "Ensure configuration reads paths and relativizes against root" Summary: This is breaking excludes - the path rewriting can't be applied blindly to regexes. Original commit changeset: 558293471574 Reviewed By: dkgi Differential Revision: D22900310 fbshipit-source-id: 254e297a4983372cc892927884acc90d2d998ad2
Remove unused format string Summary: really just need a commit to buffer an open source version bump 0.0.51 Context: pypi/warehouse#4985 Reviewed By: mrkmndz Differential Revision: D22879537 fbshipit-source-id: 286a7275cda0658245700887a5eb686b9df4018e
Infer the return type of lambda functions Summary: This patch adds a special case in the signature selection to infer the return type of lambda functions when used as a parameter of a function call. It infers the lambda parameter type using existing type constraints from other parameters and adds an implicit type annotation on the lambda parameter in order to infer its return type. The typical use case is `map(lambda x: ..., y)`. Using the type of `y`, we can infer the type of `x` and thus infer the return type of the lambda and the return type of the `map` call. Reviewed By: mrkmndz Differential Revision: D20430157 fbshipit-source-id: 407d1bc850869348d1c8c680c546618585bce2b1
don't analyze class toplevels/toplevels for stubs Summary: Idea's straightforward - any model info we get from stubs is through an explicit model. There's no reason to analyze them except for NamedTuples, which are pre-processed by Pyre into real defines. This is especially pertinent for large toplevels. Reviewed By: dkgi Differential Revision: D2056 664C 7521 fbshipit-source-id: 776a4594534bfc4a9412934cc51bb5aa82ff40dc
PreviousNext