LibCST/libcst/tests
Zsolt Dollenstein 52acdf4163
cli: Instantiate Codemods per file (#1334)
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.
2025-05-25 09:23:10 +01:00
..
pyre Upgrade pyre (#1032) 2023-10-02 09:43:17 -07:00
__init__.py Fix license headers (#560) 2021-12-28 11:55:18 +00:00
__main__.py PEP 621 + hatch to run tests/lint/etc 2023-03-14 19:37:41 -07:00
test_add_slots.py add slots to base classes, @add_slots takes bases into account (#605) 2022-01-16 14:14:32 +00:00
test_batched_visitor.py add slots to base classes, @add_slots takes bases into account (#605) 2022-01-16 14:14:32 +00:00
test_deep_clone.py Fix license headers (#560) 2021-12-28 11:55:18 +00:00
test_deep_replace.py Fix license headers (#560) 2021-12-28 11:55:18 +00:00
test_e2e.py cli: Instantiate Codemods per file (#1334) 2025-05-25 09:23:10 +01:00
test_exceptions.py Fix license headers (#560) 2021-12-28 11:55:18 +00:00
test_fuzz.py Remove uses of # pyre-placeholder-stub (#1174) 2024-07-20 09:04:25 +01:00
test_pyre_integration.py Script to regenerate test fixtures (#872) 2023-02-22 12:35:23 -08:00
test_roundtrip.py fix various Match statement visitation errors (#1161) 2024-06-12 17:29:25 +01:00
test_tabs.py Fix license headers (#560) 2021-12-28 11:55:18 +00:00
test_type_enforce.py remove typing dependencies (#1126) 2024-04-03 19:50:14 +01:00
test_visitor.py Fix license headers (#560) 2021-12-28 11:55:18 +00:00