Importanize

Latest version: v0.7.0

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

Scan your dependencies

Page 3 of 4

0.3

~~~~~~~~~~~~~~~~

* Using tokens to parse Python files. As a result this allows to
fix how comments are handled
(see `21 <https://github.com/miki725/importanize/issues/21>`_ for example)

0.2

~~~~~~~~~~~~~~~~

* New "exclude" config which allows to skip files
* Presetving origin file new line characters
* Traversing parent paths to find importanize config file

0.1.4

~~~~~~~~~~~~~~~~~~

* Multiple imports (e.g. ``import a, b``) are normalized
instead of exiting
* Multiple imports with the same stem are combined into
single import statement
(see `17 <https://github.com/miki725/importanize/issues/17>`_ for example)

0.1.3

~~~~~~~~~~~~~~~~~~

* Fixed where single line triple-quote docstrings would cause
none of the imports to be recognized

0.1.2

~~~~~~~~~~~~~~~~~~

* Fixed where import leafs were not properly sorted for
mixed case (aka CamelCase)

0.1.1

~~~~~~~~~~~~~~~~~~

* Ignoring comment blocks when parsing for imports
* Fixed bug when imports start on a first line,
extra lines were being added to the file.

Page 3 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.