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
test.py: note: In member "__init__" of class "SettingsWatcher":
test.py:19: error: Argument 1 to "__init__" has incompatible type "SettingsWatcher"; expected "EtcdValueWatcherTyped[T]" [arg-type]
EtcdValueWatcher.__init__(self)
^
Found 1 error in 1 file (checked 1 source file)
main.py: note: In member "__init__" of class "B":
main.py:13:26: error: Argument 1 to "__init__" of "C" has incompatible type "float"; expected "T" [arg-type]
main.py:13:26: error: Argument 1 to "__init__" of "C" has incompatible type "int"; expected "T" [arg-type]
Found 2 errors in 1 file (checked 1 source file)
For this code:
mypy outputs error:
which is false positive.
mypy 0.971 (compiled: yes)
mypy --config-file ./mypy.ini ./test.py
mypy.ini
(and other config files):The text was updated successfully, but these errors were encountered: