Import-linter

Latest version: v2.1

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

Scan your dependencies

Page 2 of 6

1.11b1

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

* Update to Grimp 3.0b3.
* Use Grimp's find_illegal_dependencies_for_layers method in independence contracts.
* Add ability to define independent siblings in layers contracts.

1.10.0

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

* Recursive wildcard support for ignored imports.
* Drop support for Python 3.7.
* Use grimp.ImportGraph instead of importlinter.domain.ports.graph.ImportGraph.
* Use Grimp's find_illegal_dependencies_for_layers method in layers contracts.

1.9.0

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

* Update to Grimp 2.4.
* Forbidden contracts: when include_external_packages is true, error if an external subpackage is
a forbidden module.

1.8.0

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

* Add caching.

1.7.0

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

* Switch from optional dependency of ``toml`` to required dependency of ``tomli`` for Python versions < 3.11.
* Use DetailedImport type hinting made available in Grimp 2.2.
* Allow limiting by contract.

1.6.0

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

* Add exhaustiveness option to layers contracts.

Page 2 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.