Using the acyclic_siblings contract I get the following log:
----------------
Broken contracts
----------------
AcyclicDependencies
-------------------
No cycles are allowed in definit_db.data.field.mathematics.definitions.
It could be made acyclic by removing 2 dependencies:
- .number -> .fundamental (1 import)
- .problem -> .algorithm (3 imports)
How about the additional contract option called "list_imports" with a default value "false"? If "true", just below each package dependency, it will print the imports responsible for the dependency. In this case:
- .number -> .fundamental (1 import)
definit_db.data.field.mathematics.definitions.number.integer -> definit_db.data.field.mathematics.definitions.fundamental.object
- .problem -> .algorithm (2 imports)
definit_db.data.field.mathematics.definitions.problem.optimization -> definit_db.data.field.mathematics.definitions.algorithm.objective
definit_db.data.field.mathematics.definitions.problem.linear_programming -> definit_db.data.field.mathematics.definitions.algorithm.objective
Using the acyclic_siblings contract I get the following log:
How about the additional contract option called "list_imports" with a default value "false"? If "true", just below each package dependency, it will print the imports responsible for the dependency. In this case: