Import-linter

Latest version: v2.1

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

Scan your dependencies

Page 1 of 6

2.1

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

* Add support for wildcards in forbidden and independence contracts.
* Formally support Python 3.13.
* Drop support for Python 3.8.

2.0

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

* Add support for non-independent sibling modules in layer contracts.
* In `importlinter.contracts.layers`, `Layer` and `LayerField`
have changed their API slightly. This could impact custom
contract types depending on these classes.

1.12.1

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

* Add ability to exclude imports made in type checking guards via ``exclude_type_checking_imports`` setting.
* Update to Grimp 3.1.

1.12.0

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

* Officially support Python 3.12.
* Fix error when using `click` version 6.0 and 7.0 (191).
* Allow extra whitespace around the module names in import expressions.
* Ignore blank lines in multiple value fields.
* Fix bug with allow_indirect_imports in forbidden contracts.
Prior to this fix, forbidden contracts with allow_indirect_imports
only checked imports between the source/forbidden modules specified,
not the descendants of those modules.

1.11.1

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

* Fix bug that was preventing sibling layers being used in a containerless contract.

1.11.0

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

* Update to Grimp 3.0.

Page 1 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.