LibCST/libcst/tests
Zsolt Dollenstein db696e6348
fix: don't reset context.scratch between files (#1151)
#453 fixed scratch leaking between files by setting it to empty, but that drops all the scratch space that was set up before the codemod runs (e.g. in the transformer's constructor)

This PR improves the fix by preserving the initial scratch.
2024-05-21 15:52:49 -04: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 fix: don't reset context.scratch between files (#1151) 2024-05-21 15:52:49 -04:00
test_exceptions.py Fix license headers (#560) 2021-12-28 11:55:18 +00:00
test_fuzz.py The ufmt tool combines usort and black with a consistent wrapper, (#515) 2021-08-25 20:39:29 -04:00
test_pyre_integration.py Script to regenerate test fixtures (#872) 2023-02-22 12:35:23 -08:00
test_roundtrip.py Implement Type Defaults for Type Parameters (PEP 696) (#1141) 2024-05-20 11:26:38 -04: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