general: small updates for typing while trying out pyright
This commit is contained in:
parent
b1fe23b8d0
commit
c08ddbc781
7 changed files with 12 additions and 14 deletions
|
@ -25,7 +25,7 @@ def is_not_hpi_module(module: str) -> Optional[str]:
|
|||
'''
|
||||
None if a module, otherwise returns reason
|
||||
'''
|
||||
import importlib
|
||||
import importlib.util
|
||||
|
||||
path: Optional[str] = None
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue