David Seddon
David Seddon
Currently, checking layers for containers deep in the module hierarchy take a long time. I think this is because the current optimisations, which squash the layers under test, work best...
When `lint-imports` takes a long time to run, it can be terminated by some CI services due to lack of output, e.g. this from CircleCI: ``` Too long with no...
It would be great if we could check exhaustively for independence contracts, [like we do in layers contracts](https://import-linter.readthedocs.io/en/stable/contract_types.html#exhaustive-contracts). Not sure exactly what this would look like though. If an independence...
It would be nice to be able to use a contract to define a package as being 'standalone': that is, not importing or imported by any other modules in the...
This is so you can specify the Python executable without needing to be in the context of a virtualenv. Requested by @qasimk.
Opening on behalf of @pwalsh (originally posted [in different ticket](https://github.com/seddonym/import-linter/issues/182)). # Original post With (snippets from pyproject.toml): ``` [tool.importlinter] root_packages = ["survey", "api", "django"] include_external_packages = true [[tool.importlinter.contracts]] name =...
A contract which enforces 'private' modules using underscore prefixes. For example, a module named _foo.py should not be imported directly except by its direct parent package.
The debug argument on lint-imports should be documented.
It would improve backwards compatibility for Contract.check methods to implement their check methods like so, in case we want to add arguments: ``` check(graph: ImportGraph, verbose: bool, **kwargs) -> ContractCheck:...
For more complex linting requirements that don't fit easily into the other built in types, we could have a contract that looks like this: ``` [importlinter:contract:my-graph-contract] name = My contract...