LibCST/libcst
Zsolt Dollenstein 3dc2289bf6
codegen: Support pipe syntax for Union types (#1336)
From 3.14 onwards, we'll get `foo | bar` instead of `typing.Union[foo, bar]` as the annotation for union types (including optional). This PR prepares the codegen script for this.
2025-05-26 08:40:54 +01:00
..
_nodes Bump black from 23.12.1 to 24.8.0 (#1186) 2024-08-22 16:46:01 -07:00
_parser Bump black from 24.8.0 to 25.1.0 (#1290) 2025-05-19 20:53:44 -04:00
codegen codegen: Support pipe syntax for Union types (#1336) 2025-05-26 08:40:54 +01:00
codemod Threadpool should be used if GIL is disabled. (#1335) 2025-05-25 20:13:12 +01:00
display Add the ability to dump CST to .dot (graphviz) files (#1147) 2024-05-20 11:25:13 -04:00
helpers FullyQualifiedNameProvider: Optionally consider pyproject.toml files when determining a file's module name and package (#1148) 2024-06-12 10:36:50 +01:00
matchers Bump black from 24.8.0 to 25.1.0 (#1290) 2025-05-19 20:53:44 -04:00
metadata Bump black from 24.8.0 to 25.1.0 (#1290) 2025-05-19 20:53:44 -04:00
testing Bump black from 22.12.0 to 23.1.0 (#860) 2023-03-15 11:53:50 +00:00
tests cli: Instantiate Codemods per file (#1334) 2025-05-25 09:23:10 +01: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 Bump black from 23.12.1 to 24.8.0 (#1186) 2024-08-22 16:46:01 -07: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 Bump black from 23.12.1 to 24.8.0 (#1186) 2024-08-22 16:46:01 -07: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 cli: Instantiate Codemods per file (#1334) 2025-05-25 09:23:10 +01:00