Skip to content

LibSA4Py v0.3.0

Compare
Choose a tag to compare
@mir-am mir-am released this 17 Feb 09:37
· 11 commits to master since this release

Added

  • Adding the --tc CLI arg for the process command to type-check source files in Python projects using mypy.
  • Supporting qualified names for classes by adding the q_name field to the JSON output.
  • Adding line and column no. info for the start and end of:
    • Functions definitions
    • Class definitions
    • Module-level variables
    • Class variables
    • Functions' local variables
  • Improved the performance of the NLP preprocessing quite significantly (~10x).
  • Adds a CST visitor (TypeAnnotationCounter) for counting the total number of type annotations in source files.

Fixed

  • When applying types to functions' parameters, parameters with the default value of lambdas causes an exception for matching functions' signature.

Changed

  • Python 3.6 is no longer supported.