LibCST/libcst/codemod/commands
zaicruvoir1rominet ca1f81f049
Avoid raising bare Exception (#1168)
* Keep old exception messages (avoid breaking-changes for users relying on exception messages)

* Move ``get_expected_str`` out of _exceptions.py, where it does not belong, to its own file in _parser/_parsing_check.py
2025-06-07 01:53:44 -07:00
..
tests Add codemod to rename typing aliases of builtins (#1267) 2025-01-09 18:59:00 +00:00
__init__.py Fix license headers (#560) 2021-12-28 11:55:18 +00:00
add_pyre_directive.py Fix license headers (#560) 2021-12-28 11:55:18 +00:00
add_trailing_commas.py Fix the copyright heading on add_trailing_commas.py (#649) 2022-02-16 10:17:28 -08:00
convert_format_to_fstring.py Avoid raising bare Exception (#1168) 2025-06-07 01:53:44 -07:00
convert_namedtuple_to_dataclass.py Bump black from 23.12.1 to 24.8.0 (#1186) 2024-08-22 16:46:01 -07:00
convert_percent_format_to_fstring.py Avoid raising bare Exception (#1168) 2025-06-07 01:53:44 -07:00
convert_type_comments.py remove typing dependencies (#1126) 2024-04-03 19:50:14 +01:00
convert_union_to_or.py Add codemod to convert typing.Union to | (#1270) 2025-01-02 19:48:55 -05:00
ensure_import_present.py Bump black from 22.12.0 to 23.1.0 (#860) 2023-03-15 11:53:50 +00:00
fix_pyre_directives.py Avoid raising bare Exception (#1168) 2025-06-07 01:53:44 -07:00
fix_variadic_callable.py Add codemod to fix variadic callable annotations (#1269) 2025-01-02 19:49:03 -05:00
noop.py Fix license headers (#560) 2021-12-28 11:55:18 +00:00
remove_pyre_directive.py Fix license headers (#560) 2021-12-28 11:55:18 +00:00
remove_unused_imports.py Restore the 0.4.1 behavior for libcst.helpers.get_absolute_module (#684) 2022-05-11 07:42:37 -04:00
rename.py Avoid raising bare Exception (#1168) 2025-06-07 01:53:44 -07:00
rename_typing_generic_aliases.py Add codemod to rename typing aliases of builtins (#1267) 2025-01-09 18:59:00 +00:00
strip_strings_from_types.py Fix type of evaluated_value on string to allow bytes (#721) 2023-05-26 13:43:05 +01:00
unnecessary_format_string.py Bump black from 22.12.0 to 23.1.0 (#860) 2023-03-15 11:53:50 +00:00