Verified Commit e2225171 authored by Mateusz Żebrak's avatar Mateusz Żebrak
Browse files

Suppress typing warnings in get_module_path function

Rationale:
As pkgutil has really poor typing, it is not possible
to make proper typing in this place.
The `# type: SourceFileLoader` was not working here.

Fixes mypy errors:
- package/test_tools/__private/scope/scopes_stack.py:55: error: Item "Loader" of "Optional[Loader]" has no attribute "path"
- package/test_tools/__private/scope/scopes_stack.py:55: error: Item "None" of "Optional[Loader]" has no attribute "path"
parent ecc34bda
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment