Discover plugins from file
(
filename: str = LOCAL_PLUGINS_FILENAME)
| 97 | |
| 98 | |
| 99 | def discover_file_plugins( |
| 100 | filename: str = LOCAL_PLUGINS_FILENAME) -> Iterable[str]: |
| 101 | """ |
| 102 | Discover plugins from file |
| 103 | """ |
| 104 | with open(filename) as f: |
| 105 | for module_name in f: |
| 106 | module_name = module_name.strip() |
| 107 | if module_name: |
| 108 | yield module_name |
| 109 | |
| 110 | |
| 111 | def discover_plugins(requirement_path=None) -> Iterable[str]: |
no outgoing calls
no test coverage detected
searching dependent graphs…