Import-linter

Latest version: v2.3

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

Scan your dependencies

Page 6 of 7

1.0b4

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

* Add https://pre-commit.com configuration.
* Use find_shortest_chains instead of find_shortest_chain on the Grimp import graph.
* Add Forbidden Modules contract type.

1.0b3

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

* Update to Grimp v1.0b10, fixing Windows incompatibility.

1.0b2

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

* Update to Grimp v1.0b9, fixing error with using importlib.util.find_spec.

1.0b1

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

* Improve error handling of modules/containers not in the graph.
* Return the exit code correctly.
* Run lint-imports on Import Linter itself.
* Allow single values in ListField.

1.0a3

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

* Include the ability to build the graph with external packages.

1.0a2

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

* First usable alpha release.

Page 6 of 7

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.