LibCST/libcst/codemod/commands
Sergei Lebedev 306a5f8175
convert_type_comments now preserves comments following type comments (#702)
For example,

    y = 5  # type: int  # foo

is converted to

    y: int = 5  # foo
2022-06-20 07:39:12 -06:00
..
tests convert_type_comments now preserves comments following type comments (#702) 2022-06-20 07:39:12 -06: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 Fix all type errors (#579) 2022-01-05 18:13:01 +00:00
convert_namedtuple_to_dataclass.py Fix license headers (#560) 2021-12-28 11:55:18 +00:00
convert_percent_format_to_fstring.py Fix all type errors (#579) 2022-01-05 18:13:01 +00:00
convert_type_comments.py convert_type_comments now preserves comments following type comments (#702) 2022-06-20 07:39:12 -06:00
ensure_import_present.py Fix all type errors (#579) 2022-01-05 18:13:01 +00:00
fix_pyre_directives.py Fix license headers (#560) 2021-12-28 11:55:18 +00: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 rename codemod: Correct last renamed import from (#675) 2022-04-14 17:13:40 -07:00
strip_strings_from_types.py Fix license headers (#560) 2021-12-28 11:55:18 +00:00
unnecessary_format_string.py Fix license headers (#560) 2021-12-28 11:55:18 +00:00