mirror of
https://github.com/Instagram/LibCST.git
synced 2025-12-23 10:35:53 +00:00
Instead of sharing instances of a Codemod across many files, this PR allows passing in a Codemod class to `parallel_exec_transform_with_prettyprint` which will then instantiate the Codemod for each file. `tool._codemod_impl` now starts using this API. The old behavior is deprecated, because sharing codemod instances across files is a surprising behavior, and causes hard-to-diagnose bugs when a Codemod keeps track of its state via instance variables. |
||
|---|---|---|
| .. | ||
| pyre | ||
| __init__.py | ||
| __main__.py | ||
| test_add_slots.py | ||
| test_batched_visitor.py | ||
| test_deep_clone.py | ||
| test_deep_replace.py | ||
| test_e2e.py | ||
| test_exceptions.py | ||
| test_fuzz.py | ||
| test_pyre_integration.py | ||
| test_roundtrip.py | ||
| test_tabs.py | ||
| test_type_enforce.py | ||
| test_visitor.py | ||