Skip to content

LibCST 0.3.4 Release - 2020-03-27

Compare
Choose a tag to compare
@jimmylai jimmylai released this 27 Mar 18:29

Added

  • Supported CST parsing for Python 3.0, 3.1 and 3.3. #261
  • Added RemoveUnusedImportsCommand for removing unused import codemod. #266
  • Added ApplyTypeAnnotationsVisitor.add_stub_to_context for apply type annotations from stub modules. #265

Updated

  • Improved exception message of get_metadata when MetadataWrapper is not used. #257
  • New steps for Pyre type check in README.rst which analyzes installed Python sources for better type checking. #262

Fixed

  • Parsed except(Exception): correctly while there is no space after except syntax. #256
  • Fixed RemoveImportsVisitor to not remove imports when references still exist. #264
  • Fixed missing type annotations. #271
  • AddImportsVisitor generates deterministic order for added imports. #274