Skip to content

LibSA4Py v0.2.0

Compare
Choose a tag to compare
@mir-am mir-am released this 02 Jun 13:09
· 66 commits to master since this release

Added

  • Integrated pyre into the pipeline for inferring the types of variables in source code files of given projects
  • Extracting the usage of module constants, class variables, and local variables across a source code file (Contextual hint)
  • Adding extensive unit tests for testing various features and components of LibSA4Py.
  • Minor improvement to the SpaceAdder code transformer for handling some rare edge cases.
  • The --l CLI arg for merge option to process a specified number of projects.
  • Adding a CST transformer to reduce the depth of parametric types.
  • Extracting type annotations with a qualified name from source code files.
  • Adding apply command to apply inferred type annotations to source code files.
  • Adding a qualified name for functions in the JSON field q_name.
  • Adding line and column no. for the start and end of functions in the JSON field fn_lc.

Fixed

  • Malformed output sequences containing string literal type, i.e., Literal['Blah \n blah'].
  • Malformed output sequence for the Equal operator (i.e. ==) in comparisons
  • Extracting self variables in multi assignments expressions like self.x,self.y=1,2.
  • Replacing imaginary numbers with the [numeric] token.

Removed

  • Removing the unused input_projects argument from the Pipeline class.