plugins
dependenpy plugins module.
InternalDependencies
¤
Bases: archan.Provider
Dependenpy provider for Archan.
Source code in dependenpy/plugins.py
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 |
|
get_data(packages, enforce_init=True, depth=None)
¤
Provide matrix data for internal dependencies in a set of packages.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
packages |
list[str]
|
the list of packages to check for. |
required |
enforce_init |
bool
|
whether to assert presence of init.py files in directories. |
True
|
depth |
int
|
the depth of the matrix to generate. |
None
|
Returns:
Type | Description |
---|---|
archan.DSM
|
Instance of archan DSM. |
Source code in dependenpy/plugins.py
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 |
|