Created
March 20, 2017 19:22
-
-
Save tim6her/ce9962029810050a7a74a8b06c988832 to your computer and use it in GitHub Desktop.
output of $ mypy hdx/data/dataset.py --ignore-missing-import
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Commit db7a681 | |
hdx/__init__.py:2: error: Need type annotation for variable | |
hdx/__init__.py:3: error: Need type annotation for variable | |
hdx/utilities/path.py:23: error: "module" has no attribute "getabsfile" | |
hdx/utilities/dictandlist.py:7: error: String argument 1 'T' to TypeVar(...) does not match variable name 'DictUpperBound' | |
hdx/utilities/dictandlist.py:7: error: "object" not callable | |
hdx/utilities/dictandlist.py:10: error: Invalid type "hdx.utilities.dictandlist.DictUpperBound" | |
hdx/utilities/dictandlist.py:22: error: Need type annotation for variable | |
hdx/utilities/dictandlist.py:55: error: Invalid type "hdx.utilities.dictandlist.DictUpperBound" | |
hdx/utilities/dictandlist.py:65: error: Need type annotation for variable | |
hdx/utilities/dictandlist.py:66: error: Need type annotation for variable | |
hdx/utilities/dictandlist.py:71: error: Invalid type "hdx.utilities.dictandlist.DictUpperBound" | |
hdx/utilities/dictandlist.py:83: error: object has no attribute "keys" | |
hdx/utilities/dictandlist.py:84: error: object has no attribute "keys" | |
hdx/utilities/dictandlist.py:86: error: Value of type object is not indexable | |
hdx/utilities/dictandlist.py:87: error: Value of type object is not indexable | |
hdx/utilities/dictandlist.py:88: error: Value of type object is not indexable | |
hdx/utilities/dictandlist.py:92: error: Invalid type "hdx.utilities.dictandlist.DictUpperBound" | |
hdx/utilities/dictandlist.py:104: error: object has no attribute "get" | |
hdx/utilities/dictandlist.py:106: error: Unsupported target for indexed assignment | |
hdx/utilities/dictandlist.py:121: error: Need type annotation for variable | |
hdx/utilities/dictandlist.py:170: error: Need type annotation for variable | |
hdx/configuration.py:204: error: Cannot instantiate abstract class 'Configuration' with abstract attributes '__delitem__', '__getitem__', '__iter__', '__len__' and '__setitem__' | |
hdx/utilities/location.py:77: error: Need type annotation for variable | |
hdx/__init__.py:2: error: Need type annotation for variable | |
hdx/__init__.py:3: error: Need type annotation for variable | |
hdx/utilities/path.py:23: error: "module" has no attribute "getabsfile" | |
hdx/utilities/dictandlist.py:7: error: String argument 1 'T' to TypeVar(...) does not match variable name 'DictUpperBound' | |
hdx/utilities/dictandlist.py:7: error: "object" not callable | |
hdx/utilities/dictandlist.py:10: error: Invalid type "hdx.utilities.dictandlist.DictUpperBound" | |
hdx/utilities/dictandlist.py:22: error: Need type annotation for variable | |
hdx/utilities/dictandlist.py:55: error: Invalid type "hdx.utilities.dictandlist.DictUpperBound" | |
hdx/utilities/dictandlist.py:65: error: Need type annotation for variable | |
hdx/utilities/dictandlist.py:66: error: Need type annotation for variable | |
hdx/utilities/dictandlist.py:71: error: Invalid type "hdx.utilities.dictandlist.DictUpperBound" | |
hdx/utilities/dictandlist.py:83: error: object has no attribute "keys" | |
hdx/utilities/dictandlist.py:84: error: object has no attribute "keys" | |
hdx/utilities/dictandlist.py:86: error: Value of type object is not indexable | |
hdx/utilities/dictandlist.py:87: error: Value of type object is not indexable | |
hdx/utilities/dictandlist.py:88: error: Value of type object is not indexable | |
hdx/utilities/dictandlist.py:92: error: Invalid type "hdx.utilities.dictandlist.DictUpperBound" | |
hdx/utilities/dictandlist.py:104: error: object has no attribute "get" | |
hdx/utilities/dictandlist.py:106: error: Unsupported target for indexed assignment | |
hdx/utilities/dictandlist.py:121: error: Need type annotation for variable | |
hdx/utilities/dictandlist.py:170: error: Need type annotation for variable | |
hdx/configuration.py:204: error: Cannot instantiate abstract class 'Configuration' with abstract attributes '__delitem__', '__getitem__', '__iter__', '__len__' and '__setitem__' | |
hdx/data/hdxobject.py:19: error: String argument 1 'T' to TypeVar(...) does not match variable name 'HDXObjectUpperBound' | |
hdx/data/hdxobject.py:19: error: "object" not callable | |
hdx/data/hdxobject.py:45: error: The return type of "__init__" must be None | |
hdx/data/hdxobject.py:46: error: Too many arguments for "__init__" of "object" | |
hdx/data/hdxobject.py:47: error: Need type annotation for variable | |
hdx/data/hdxobject.py:66: error: Cannot determine type of 'data' | |
hdx/data/hdxobject.py:123: error: Incompatible types in assignment (expression has type "Union[Dict[Any, Any], str]", variable has type Dict[Any, Any]) | |
hdx/data/hdxobject.py:125: error: Argument 1 to "debug" of "Logger" has incompatible type "Union[Dict[Any, Any], str]"; expected "str" | |
hdx/data/hdxobject.py:128: error: Invalid type "hdx.data.hdxobject.HDXObjectUpperBound" | |
hdx/data/hdxobject.py:139: error: Return value expected | |
hdx/data/hdxobject.py:325: error: Invalid type "hdx.data.hdxobject.HDXObjectUpperBound" | |
hdx/data/hdxobject.py:338: error: Need type annotation for variable | |
hdx/data/hdxobject.py:339: error: Value of type object is not indexable | |
hdx/data/hdxobject.py:345: error: Invalid type "hdx.data.hdxobject.HDXObjectUpperBound" | |
hdx/data/hdxobject.py:355: error: Need type annotation for variable | |
hdx/data/hdxobject.py:359: error: Invalid type "hdx.data.hdxobject.HDXObjectUpperBound" | |
hdx/data/hdxobject.py:372: error: Need type annotation for variable | |
hdx/data/hdxobject.py:381: error: Invalid type "hdx.data.hdxobject.HDXObjectUpperBound" | |
hdx/data/hdxobject.py:400: error: Need type annotation for variable | |
hdx/data/galleryitem.py:20: error: The return type of "__init__" must be None | |
hdx/data/galleryitem.py:73: error: Cannot instantiate abstract class 'GalleryItem' with abstract attributes '__delitem__', '__getitem__', '__iter__', '__len__' and '__setitem__' | |
hdx/data/resource.py:25: error: The return type of "__init__" must be None | |
hdx/data/resource.py:29: error: Need type annotation for variable | |
hdx/data/resource.py:83: error: Cannot instantiate abstract class 'Resource' with abstract attributes '__delitem__', '__getitem__', '__iter__', '__len__' and '__setitem__' | |
hdx/data/resource.py:183: error: Cannot instantiate abstract class 'Resource' with abstract attributes '__delitem__', '__getitem__', '__iter__', '__len__' and '__setitem__' | |
hdx/data/resource.py:186: error: Some element of union has no attribute "get" | |
hdx/data/resource.py:189: error: Cannot instantiate abstract class 'Resource' with abstract attributes '__delitem__', '__getitem__', '__iter__', '__len__' and '__setitem__' | |
hdx/data/resource.py:192: error: Argument 1 to "debug" of "Logger" has incompatible type "Union[Dict[Any, Any], str]"; expected "str" | |
hdx/data/resource.py:224: error: Argument 1 to "debug" of "Logger" has incompatible type "Union[Dict[Any, Any], str]"; expected "str" | |
hdx/data/dataset.py:111: error: Cannot determine type of 'resources' | |
hdx/data/dataset.py:128: error: Need type annotation for variable | |
hdx/data/dataset.py:142: error: Cannot instantiate abstract class 'Resource' with abstract attributes '__delitem__', '__getitem__', '__iter__', '__len__' and '__setitem__' | |
hdx/data/dataset.py:146: error: Need type annotation for variable | |
hdx/data/dataset.py:146: error: Cannot determine type of 'resources' | |
hdx/data/dataset.py:176: error: Cannot determine type of 'resources' | |
hdx/data/dataset.py:180: error: Cannot determine type of 'resources' | |
hdx/data/dataset.py:189: error: Cannot determine type of 'resources' | |
hdx/data/dataset.py:198: error: Need type annotation for variable | |
hdx/data/dataset.py:212: error: Cannot instantiate abstract class 'GalleryItem' with abstract attributes '__delitem__', '__getitem__', '__iter__', '__len__' and '__setitem__' | |
hdx/data/dataset.py:216: error: Cannot determine type of 'gallery' | |
hdx/data/dataset.py:244: error: Cannot determine type of 'gallery' | |
hdx/data/dataset.py:248: error: Cannot determine type of 'gallery' | |
hdx/data/dataset.py:257: error: Cannot determine type of 'gallery' | |
hdx/data/dataset.py:299: error: Cannot instantiate abstract class 'Dataset' with abstract attributes '__delitem__', '__getitem__', '__iter__' and '__len__' | |
hdx/data/dataset.py:311: error: Cannot determine type of 'resources' | |
hdx/data/dataset.py:318: error: Cannot determine type of 'gallery' | |
hdx/data/dataset.py:349: error: Cannot determine type of 'resources' | |
hdx/data/dataset.py:351: error: Cannot determine type of 'gallery' | |
hdx/data/dataset.py:374: error: Cannot determine type of 'resources' | |
hdx/data/dataset.py:389: error: Cannot determine type of 'resources' | |
hdx/data/dataset.py:393: error: Cannot determine type of 'resources' | |
hdx/data/dataset.py:394: error: Cannot determine type of 'resources' | |
hdx/data/dataset.py:406: error: Cannot determine type of 'gallery' | |
hdx/data/dataset.py:409: error: Cannot determine type of 'gallery' | |
hdx/data/dataset.py:423: error: Cannot determine type of 'gallery' | |
hdx/data/dataset.py:472: error: Cannot determine type of 'resources' | |
hdx/data/dataset.py:473: error: Cannot determine type of 'resources' | |
hdx/data/dataset.py:477: error: Cannot determine type of 'resources' | |
hdx/data/dataset.py:490: error: Cannot determine type of 'gallery' | |
hdx/data/dataset.py:492: error: Cannot determine type of 'gallery' | |
hdx/data/dataset.py:529: error: Need type annotation for variable | |
hdx/data/dataset.py:530: error: Cannot instantiate abstract class 'Dataset' with abstract attributes '__delitem__', '__getitem__', '__iter__' and '__len__' | |
hdx/data/dataset.py:542: error: Some element of union has no attribute "get" | |
hdx/data/dataset.py:546: error: Cannot instantiate abstract class 'Dataset' with abstract attributes '__delitem__', '__getitem__', '__iter__' and '__len__' | |
hdx/data/dataset.py:557: error: Argument 1 to "debug" of "Logger" has incompatible type "Union[Dict[Any, Any], str]"; expected "str" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment