Flake8-tidy-imports

Latest version: v4.10.0

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

Scan your dependencies

Page 4 of 5

1.0.6

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

* Fixed the whitespace in the help message for ``--banned-modules``.

1.0.5

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

* Changed the error message for ``I201`` to be about the banned *import*
instead of *module*.
* Fix a bug introduced in 1.0.4 that broke parsing relative imports.

1.0.4

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

* Don't allow installation with Flake8 3.2.0 which doesn't enable the plugin.
This bug was fixed in Flake8 3.2.1.
* Use the most specific message available for a banned import.

1.0.3

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

* Fixed reading config from flake8 3+

1.0.2

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

* Fixed ``I201`` rule to detect banned imports like ``from x import y``.

1.0.1

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

* ``I201`` rule that allows you to configure complaining about certain modules
being imported, e.g. if you are moving from Python 2 to 3 you could stop
``urlparse`` being imported in favour of ``six.moves.urllib.parse``.

Page 4 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.