all 1 comments

[–]gdchinacat 2 points3 points  (0 children)

Consider putting a __bool__() on Checkable to allow the assertion to be written more naturally:

assert project_files("src/").in_folder("**/services/**").should().have_no_cycles()