Peter Byfield

Results 16 comments of Peter Byfield

@K4liber I didn't quite understand your suggestion - what does `consider_package_dependencies` do? Perhaps it would clearer if you add a docstring to those proposed signatures.

Hi @K4liber thanks for the update. > But first let me go back to the @Peter554 proposition `find_shortest_cycle(module, as_package)`. I am not sure how we should utilize such a function....

@seddonym @K4liber I've started a draft PR on the `find_shortest_cycle` method I'm proposing -> https://github.com/seddonym/grimp/pull/194

This issue also affects a project I'm working on. If the decision is to move to the ruff python parser then it would be nice to get some guidance on...

FYI I've opened these as a POC: * Grimp: https://github.com/seddonym/grimp/pull/188 * https://github.com/seddonym/import-linter/pull/253 With some local testing this does seem to solve the problem - the contracts I'm concerned about are...

One possible alternative - allow including one config from another: ``` # main.ini [importlinter] # Paths relative to main.ini # Maybe accept globs here? include = ["foo.ini", "bar.ini"] ``` Not...