Skip to content

0.41.0

Compare
Choose a tag to compare
@github-actions github-actions released this 26 Feb 15:46
· 255 commits to main since this release

0.41.0 - 2024-02-26

Compare with 0.40.1

Features

  • Add option to append sys.path to search paths to the check command too (d153fa0 by Timothée Mazzucotelli).

Bug Fixes

  • Special case NumpyDoc "warnings" and "notes" sections (plural) (3b47cdb by Ethan Henderson). PR #236
  • Serialize line numbers even if zero (55e6e0e by Timothée Mazzucotelli).
  • Fix handling of lambda expressions (598d08a by Timothée Mazzucotelli).
  • Fix building expressions (and string values) for yield and yield from statements (439f65e by Timothée Mazzucotelli).
  • Do not create aliases pointing to themselves (356305f by Timothée Mazzucotelli).

Code Refactoring

  • Remove get_call_keyword_arguments utility function, as it is implemented with a single line and creates a cyclic depdendency with expressions (35cf170 by Timothée Mazzucotelli).
  • Further prevent cyclic dependency between node utils and expressions (9614c83 by Timothée Mazzucotelli).
  • Avoid cyclic dependency between node utils and expressions (aedf39c by Timothée Mazzucotelli).
  • Move arguments node-parsing logic into its own module (used by visitor and lambda expressions) (ad68e65 by Timothée Mazzucotelli).
  • Use canonical imports (3091660 by Timothée Mazzucotelli).
  • Use ast.unparse instead of our own unparser (6fe1316 by Timothée Mazzucotelli).
  • Only return 0 for the line number of removed objects when the location is reworked as relative (3a4d054 by Timothée Mazzucotelli).