You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For new contributors, having some documentation of the overall pins-python package structure could be helpful.
In particular, it is helpful to get an idea of the dependency relationships between modules. import-linter allows you to declare and enforce a layered architecture; for example for pins-python, the configuration could be declared as:
The idea is that that higher layers in the list can import from lower layers in the list, but not vice versa; and modules in the same level separated by | cannot import each other either.
Alternatively, I think having a diagram or other form of documentation would be quite helpful. However, import-linter has the advantage of enforcing the structure (potentially via pre-commit); whereas documentation can become out of date.
The text was updated successfully, but these errors were encountered:
For new contributors, having some documentation of the overall
pins-python
package structure could be helpful.In particular, it is helpful to get an idea of the dependency relationships between modules.
import-linter
allows you to declare and enforce a layered architecture; for example forpins-python
, the configuration could be declared as:The idea is that that higher layers in the list can import from lower layers in the list, but not vice versa; and modules in the same level separated by
|
cannot import each other either.Alternatively, I think having a diagram or other form of documentation would be quite helpful. However,
import-linter
has the advantage of enforcing the structure (potentially viapre-commit
); whereas documentation can become out of date.The text was updated successfully, but these errors were encountered: