Flake8-tidy-imports

Latest version: v4.11.0

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

Scan your dependencies

Page 3 of 5

4.1.0

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

* Make ``{python2to3}`` ban ``functools.wraps`` in favour of ``six.wraps``.

4.0.1

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

* Fix ``cStringIO`` message for ``{python2to3}`` built-in ``banned-modules``.
Previously it looked for ``cStringIO.cStringIO`` which seems to never have
existed.

4.0.0

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

* Add 50 to all rule codes to avoid conflict with ``flake8-import-order``. This
means rule ``I200`` is now ``I250``, etc.

If you have configured `flake8's select or ignore options
<http://flake8.pycqa.org/en/latest/user/violations.html>`__, you may need to
update it to keep the ``flake8-tidy-imports`` rules active.

3.1.0

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

* Support Python 3.8.
* Converted setuptools metadata to configuration file. This meant removing the
``__version__`` attribute from the package. If you want to inspect the
installed version, use
``importlib.metadata.version("flake8-tidy-imports")``
(`docs <https://docs.python.org/3.8/library/importlib.metadata.html#distribution-versions>`__ /
`backport <https://pypi.org/project/importlib-metadata/>`__).
* Add dependency on ``importlib-metadata``.

3.0.0

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

* Add rule ``I202`` to ban relative imports, when activated with the new
``ban-relative-imports`` configuration option.
* Update Python support to 3.5-3.7, as 3.4 has reached its end of life.
* Update Flake8 support to 3.0+ only. 3.0.0 was released in 2016 and the plugin
hasn't been tested with it since.

2.0.0

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

* Drop Python 2 support, only Python 3.4+ is supported now.

Page 3 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.