thebjorn / pydeps

Python Module Dependency graphs
https://pydeps.readthedocs.io/en/latest/
BSD 2-Clause "Simplified" License
1.8k stars 114 forks source link

Use of pydeps in CI to reject introduction of new import cycles? #219

Open hartwork opened 7 months ago

hartwork commented 7 months ago

Hi!

Thanks for sharing pydeps as software libre! :pray:

I would love to build CI that rejects introduction of new import cycles, and I'm not yet sure how I would do that with pydeps if possible. Has this been done before? Any ideas or pointers?

Thanks and best, Sebastian

hartwork commented 6 months ago

Update: I have come up with something like that by myself in the mean time: https://github.com/hartwork/no-cyclic-imports .

thebjorn commented 6 months ago

Hi @hartwork Because of your license I can't look at your source code, but if you're interested in providing a PR I'll be happy to merge it.

hartwork commented 6 months ago

@thebjorn it took me a moment to really understand your reply, but I think I got it now. We could still team up on getting #197 fixed in pydeps, and I have no problem contributing new code to this project under the current BSD-2 license. Maybe a quick voice call on the topic would be best, my profile has my e-mail address if you're interested.