Skip to content

LibCST 0.3.5 Release - 2020-05-13

Compare
Choose a tag to compare
@jimmylai jimmylai released this 13 May 15:35

Updated

  • Expose more granular Assignments and Accesses for dotted imports in ScopeProvider. #284
  • get_qualified_names_for returns the most appropriate qualified name. #290
  • Surface SyntaxError raised by formatter in codemod run. #288 #289
  • Rename ApplyTypeAnnotationsVisitor.add_stub_to_context as ApplyTypeAnnotationsVisitor.store_stub_in_context and add overwrite_existing_annotations to allow overwrite existing type annotations. #289

Fixed

  • Close opened file handles on finishing codemod to avoid Too many open files on OSX. #283

Deprecated

  • ApplyTypeAnnotationsVisitor.add_stub_to_context is renamed as ApplyTypeAnnotationsVisitor.store_stub_in_context.