torchx
torchx copied to clipboard
[file-linter] Refactor file-linter and components-finder
File linter and components finder modules reside under torchx.specs module. Components finder module has runtime dependency on the torchx.components module: during find execution, components finder would dynamically load the module and all its submodule to search components. This creates circular dependency between torchx.specs and torchx.components, since torchx.componetns depends on the torchx.specs.
We need to move these modules out of the torchx.specs , and extract hardcoded module search parameter from the components finder