LibCST/libcst/codemod/commands/tests
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
..
__init__.py Fix license headers (#560) 2021-12-28 11:55:18 +00:00
test_add_pyre_directive.py Fix license headers (#560) 2021-12-28 11:55:18 +00:00
test_add_trailing_commas.py Create an AddTrailingCommas codemod (#643) 2022-02-11 06:26:33 -08:00
test_convert_format_to_fstring.py Fix license headers (#560) 2021-12-28 11:55:18 +00:00
test_convert_namedtuple_to_dataclass.py Fix license headers (#560) 2021-12-28 11:55:18 +00:00
test_convert_percent_format_to_fstring.py Fix license headers (#560) 2021-12-28 11:55:18 +00:00
test_convert_type_comments.py convert_type_comments now preserves comments following type comments (#702) 2022-06-20 07:39:12 -06:00
test_ensure_import_present.py Fix license headers (#560) 2021-12-28 11:55:18 +00:00
test_fix_pyre_directives.py Fix license headers (#560) 2021-12-28 11:55:18 +00:00
test_noop.py Fix license headers (#560) 2021-12-28 11:55:18 +00:00
test_remove_pyre_directive.py Fix license headers (#560) 2021-12-28 11:55:18 +00:00
test_remove_unused_imports.py Fix license headers (#560) 2021-12-28 11:55:18 +00:00
test_rename.py rename codemod: Correct last renamed import from (#675) 2022-04-14 17:13:40 -07:00
test_strip_strings_from_types.py Fix license headers (#560) 2021-12-28 11:55:18 +00:00
test_unnecessary_format_string.py Fix license headers (#560) 2021-12-28 11:55:18 +00:00