Can we skip looking for newly unsuppressed imports to module?
(module: str)
| 157 | |
| 158 | |
| 159 | def ignore_suppressed_imports(module: str) -> bool: |
| 160 | """Can we skip looking for newly unsuppressed imports to module?""" |
| 161 | # Various submodules of 'encodings' can be suppressed, since it |
| 162 | # uses module-level '__getattr__'. Skip them since there are many |
| 163 | # of them, and following imports to them is kind of pointless. |
| 164 | return module.startswith("encodings.") |
| 165 | |
| 166 | |
| 167 | ModulePathPair: _TypeAlias = tuple[str, str] |
no test coverage detected
searching dependent graphs…