Findimports

Latest version: v2.5.0

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

Scan your dependencies

Page 2 of 4

2.0.0

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

- Add support for Python 3.9.

- Drop support for Python 3.5 and 2.7.

- Fix a bug where the encoding of Python files was not determined in the
same way as by Python itself. See `issue 15
<https://github.com/mgedmin/findimports/issues/15>`_. This requires
the use of ``tokenize.open`` which is not in Python 2.7.

1.5.2

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

- Add support for Python 3.8.

- Fix a bug where a package/module with a name that is a prefix of another
package/module might accidentally be used instead of the other one (e.g. py
instead of pylab). See `issue 10
<https://github.com/mgedmin/findimports/issues/10>`_.

1.5.1

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

- Drop support for Python 3.4.

1.5.0

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

- Support Python 3.6 and 3.7.

- Drop support for Python 2.6 and 3.3.

- Suppress duplicate import warnings if the line in question has a comment.

1.4.1

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

- Replace ``getopt`` with ``optparse``. This changes the ``--help``
message as a side effect (`4
<https://github.com/mgedmin/findimports/issues/4>`_).

1.4.0

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

- Python 3 support (3.3 and newer).

- Use ``ast`` instead of ``compiler`` (`1
<https://github.com/mgedmin/findimports/issues/1>`_).

Page 2 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.