You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running mypy on a hydra app throws type errors.Skipping analyzing 'hydra': found module but no type hints or library stubs
To reproduce
** Minimal Code/Config snippet to reproduce **
Create a file, say test.py
Add a single line import hydra
Run mypy test.py
** Stack trace/error message **
/(hydra_types) ➜ ~ mypy test.py
test.py:1: error: Skipping analyzing 'hydra': found module but no type hints or library stubs
test.py:1: note: See https://mypy.readthedocs.io/en/latest/running_mypy.html#missing-imports
Found 1 error in 1 file (checked 1 source file)
Expected Behavior
Type tests should pass
System information
Hydra Version : Master and pip (1.0rc)
Python version : 3.7
Virtual environment type and version : Conda 4.5.8
🐛 Bug
Running
mypy
on a hydra app throws type errors.Skipping analyzing 'hydra': found module but no type hints or library stubs
To reproduce
** Minimal Code/Config snippet to reproduce **
test.py
import hydra
mypy test.py
** Stack trace/error message **
Expected Behavior
Type tests should pass
System information
Additional context
https://mypy.readthedocs.io/en/latest/running_mypy.html#missing-type-hints-for-third-party-library
The text was updated successfully, but these errors were encountered: