Commit graph

11 commits

Author SHA1 Message Date
Zsolt Dollenstein
d9a1dc8473
Fix all type errors (#579)
* bump pyre version
* make sure CI-pyre uses working copy
* remove unused pyre suppressions
* suppress invalid decorations
* fix undefined attributes
* fix missing return annotations
* fix tuple concatenation issues
* add native stubs
* fix invalid typing of **kwargs in test_apply_type_annotations
* only install pyre on non-windows
* update test fixture to reflect changes in recent pyre versions
* suppress errors related to mismatched positions
2022-01-05 18:13:01 +00:00
Zsolt Dollenstein
c44ff0500b
Fix license headers (#560)
* Facebook -> Meta

* remove year from doc copyright
2021-12-28 11:55:18 +00:00
John Reese
10c3aa09a7
Upgrade to µsort 1.0.0rc1, and apply formatting changes (#565)
* Upgrade to usort==1.0.0rc1

* Apply sorting changes from usort 1.0.0rc1

* reapply codegen

Co-authored-by: Zsolt Dollenstein <zsol.zsol@gmail.com>
2021-12-21 14:55:04 -08:00
jimmylai
c023fa7c4c
[typing] enable Pyre strict mode by default (#313)
Co-authored-by: Jimmy Lai <jimmylai@fb.com>
2020-06-12 18:24:18 -07:00
Jimmy Lai
fdce46a2da Apply make_fixture_data() to codemod output 2020-01-10 15:38:23 -08:00
Jennifer Taylor
b319312de3 Add docstring for CodemodTest. 2020-01-08 17:17:48 -08:00
Jennifer Taylor
9231e5ca3a Plumb through the ability to override the python version used for parsing in libcst.tool. 2019-12-19 11:40:22 -08:00
Jennifer Taylor
f7e13df680 Apply correct copyright header to all open-sourced files. 2019-12-12 15:34:13 -08:00
Jennifer Taylor
508927aabf Run add strict codemod across codemod directory, fix pyre errors. 2019-12-12 11:31:05 -08:00
Jennifer Taylor
8854b42735 Separate base testing class to a mixin so that it can be used with alternative testing frameworks. 2019-12-12 11:28:53 -08:00
Jennifer Taylor
69fd60edcf Initial work to open-source codemod framework core. 2019-12-12 11:28:53 -08:00