seddonym / import-linter

Import Linter allows you to define and enforce rules for the internal and external imports within your Python project.
https://import-linter.readthedocs.io/
BSD 2-Clause "Simplified" License
664 stars 45 forks source link

Add exhaustiveness checking for independence contracts #212

Open seddonym opened 7 months ago

seddonym commented 7 months ago

It would be great if we could check exhaustively for independence contracts, like we do in layers contracts.

Not sure exactly what this would look like though. If an independence contract is exhaustive we shouldn't need to list any of the modules, just the containing package. Suggestions welcome!