Strip-hints

Latest version: v0.1.10

Safety actively analyzes 620930 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.1.10

-------------------

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

------------------

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

-----------------

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

-----------------

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

0.1.6

-----------------

Fixed strip-on-import for Python 2.

0.1.5

-----------------

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

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.