LibCST/libcst
Zsolt Dollenstein 6adb8c3f39 fix: don't reset context.scratch between files
#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:25:34 -04:00
..
_nodes Implement Type Defaults for Type Parameters (PEP 696) (#1141) 2024-05-20 11:26:38 -04:00
_parser Switch default parser implementation to native (#929) 2023-05-25 18:24:59 +01:00
codegen remove typing dependencies (#1126) 2024-04-03 19:50:14 +01:00
codemod fix: don't reset context.scratch between files 2024-05-21 15:25:34 -04:00
display Add the ability to dump CST to .dot (graphviz) files (#1147) 2024-05-20 11:25:13 -04:00
helpers Add helper functions for common ways of filtering nodes (#1137) 2024-05-13 10:20:47 +01:00
matchers Implement Type Defaults for Type Parameters (PEP 696) (#1141) 2024-05-20 11:26:38 -04:00
metadata remove mypy_extensions import (#1128) 2024-04-03 21:10:44 +01:00
testing Bump black from 22.12.0 to 23.1.0 (#860) 2023-03-15 11:53:50 +00:00
tests fix: don't reset context.scratch between files 2024-05-21 15:25:34 -04:00
__init__.py PEP 695 - Type Parameter Syntax (#1004) 2023-08-28 22:07:22 +01:00
_add_slots.py drop support for Python 3.7 (#997) 2023-08-26 12:42:12 +01:00
_batched_visitor.py Fix license headers (#560) 2021-12-28 11:55:18 +00:00
_exceptions.py remove typing dependencies (#1126) 2024-04-03 19:50:14 +01:00
_flatten_sentinel.py Fix license headers (#560) 2021-12-28 11:55:18 +00:00
_maybe_sentinel.py Fix license headers (#560) 2021-12-28 11:55:18 +00:00
_metadata_dependent.py Implement lazy loading mechanism for QualifiedNameProvider (#720) 2022-07-09 08:34:29 +01:00
_position.py Fix all type errors (#579) 2022-01-05 18:13:01 +00:00
_removal_sentinel.py Fix license headers (#560) 2021-12-28 11:55:18 +00:00
_tabs.py Fix license headers (#560) 2021-12-28 11:55:18 +00:00
_type_enforce.py remove typing dependencies (#1126) 2024-04-03 19:50:14 +01:00
_typed_visitor.py Implement Type Defaults for Type Parameters (PEP 696) (#1141) 2024-05-20 11:26:38 -04:00
_typed_visitor_base.py Several trivial refactors (#770) 2022-09-14 14:33:45 +01:00
_types.py Pass root path to FullyQualifiedNameProvider (#867) 2023-02-22 14:36:10 -08:00
_visitors.py Fix license headers (#560) 2021-12-28 11:55:18 +00:00
py.typed support mypy using py.typed 2019-09-16 13:49:08 -07:00
tool.py Add the ability to dump CST to .dot (graphviz) files (#1147) 2024-05-20 11:25:13 -04:00