Skip to content

Latest commit

 

History

History
88 lines (54 loc) · 1.98 KB

CHANGELOG.rst

File metadata and controls

88 lines (54 loc) · 1.98 KB

Changelog

0.1.10 (2021-07-20)

Added the options --outfile and --inplace, along with --help.

Bug fixes:

  • Fixed a bug where comments in function return hints that contain both newlines and comments cause syntax error when the --strip-nl option is used.
  • Fixed a bug in multiline annotated expressions with comments on the lines.

0.1.9 (2020-05-06)

Added the options --strip-nl and --no-equal-move. Fixing annotated assignments with newlines in type hints by moving the line with = was added.

0.1.8 (2019-2-21)

Added a new Python interface function strip_string_to_string which works just the same as strip_file_to_string except it takes a code string argument instead of a file name.

0.1.7 (2019-6-16)

Added an importlib stripper for strip-on-import for Python 3.

0.1.6 (2019-6-16)

Fixed strip-on-import for Python 2.

0.1.5 (2019-6-16)

Fixed a unicode decoding bug when running under Python 2 on a file containing a unicode string.

0.1.4 (2019-1-18)

Consolidated the functional interface function strip_file_to_string so it now accepts only_test_for_changes as an argument.

0.1.3 (2019-1-17)

Now handles annotated expressions of the form d["key"]: int and d["key"]: int == 4.

Add an option --only-test-for-changes to just test for changes.

Fixed a nasty bug introduced in last version, keywords like "try" mistaken for annotated variables.

0.1.2 (2019-1-15)

Now handles annotated dotted-access assignments (a simple form of annotated expressions). For example, x.y.z : int.

0.1.1 (2017-11-03)

New Features:

  • The new strip_on_import function allows stripping Python 2 files on import.

Bug Fixes: None.

Other changes:

  • Expanded README documentation.

0.1.0 (2017-10-25)

Initial release.