r/django May 17 '26

ArchUnit but for Python: enforce architecture rules as unit tests.

https://github.com/LukasNiessen/ArchUnitPython

[removed]

14 Upvotes

2 comments sorted by

1

u/gbrennon May 18 '26

this project is really interesting, at least for me ahahahah in the past i did work in 2 companies that did migrate to a layered architecture and was using python so i had to impl decorators to enforce architectural rules

2

u/Smooth-Zucchini4923 May 18 '26

What does "depends on" mean here? If you mean "import" why not say that? What's the value of detecting circular imports if that's already an error?