Skip to content

Instantly share code, notes, and snippets.

@tim6her
Last active March 24, 2017 16:27
Show Gist options
  • Save tim6her/fcabd59e9fba458cea950912a3cf8adb to your computer and use it in GitHub Desktop.
Save tim6her/fcabd59e9fba458cea950912a3cf8adb to your computer and use it in GitHub Desktop.
hdx/facades/__init__.py:1: 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:24: error: "module" has no attribute "getabsfile"
hdx/utilities/dictandlist.py:8: error: String argument 1 'T' to TypeVar(...) does not match variable name 'DictUpperBound'
hdx/utilities/dictandlist.py:8: error: "object" not callable
hdx/utilities/dictandlist.py:11: error: Invalid type "hdx.utilities.dictandlist.DictUpperBound"
hdx/utilities/dictandlist.py:24: error: Need type annotation for variable
hdx/utilities/dictandlist.py:57: error: Invalid type "hdx.utilities.dictandlist.DictUpperBound"
hdx/utilities/dictandlist.py:68: error: Need type annotation for variable
hdx/utilities/dictandlist.py:69: error: Need type annotation for variable
hdx/utilities/dictandlist.py:74: error: Invalid type "hdx.utilities.dictandlist.DictUpperBound"
hdx/utilities/dictandlist.py:87: error: object has no attribute "keys"
hdx/utilities/dictandlist.py:88: error: object has no attribute "keys"
hdx/utilities/dictandlist.py:90: error: Value of type object is not indexable
hdx/utilities/dictandlist.py:91: error: Value of type object is not indexable
hdx/utilities/dictandlist.py:92: error: Value of type object is not indexable
hdx/utilities/dictandlist.py:96: error: Invalid type "hdx.utilities.dictandlist.DictUpperBound"
hdx/utilities/dictandlist.py:109: error: object has no attribute "get"
hdx/utilities/dictandlist.py:111: error: Unsupported target for indexed assignment
hdx/utilities/dictandlist.py:127: error: Need type annotation for variable
hdx/utilities/dictandlist.py:177: error: Need type annotation for variable
hdx/configuration.py:97: error: Need type annotation for variable
hdx/configuration.py:103: error: Cannot determine type of 'data'
hdx/configuration.py:106: error: Cannot determine type of 'data'
hdx/configuration.py:119: error: Cannot determine type of 'data'
hdx/configuration.py:129: error: Cannot determine type of 'data'
hdx/configuration.py:139: error: Cannot determine type of 'data'
hdx/facades/hdx_scraperwiki.py:41: error: Argument 1 to "critical" of "Logger" has incompatible type "Exception"; expected "str"
hdx/data/hdxobject.py:24: error: String argument 1 'T' to TypeVar(...) does not match variable name 'HDXObjectUpperBound'
hdx/data/hdxobject.py:24: error: "object" not callable
hdx/data/hdxobject.py:54: error: Need type annotation for variable
hdx/data/hdxobject.py:75: error: Cannot determine type of 'data'
hdx/data/hdxobject.py:89: error: Missing return statement
hdx/data/hdxobject.py:134: error: Incompatible types in assignment (expression has type "Union[Dict[Any, Any], str]", variable has type Dict[Any, Any])
hdx/data/hdxobject.py:136: error: Argument 1 to "debug" of "Logger" has incompatible type "Union[Dict[Any, Any], str]"; expected "str"
hdx/data/hdxobject.py:139: error: Invalid type "hdx.data.hdxobject.HDXObjectUpperBound"
hdx/data/hdxobject.py:151: error: Return value expected
hdx/data/hdxobject.py:247: error: Missing return statement
hdx/data/hdxobject.py:350: error: Invalid type "hdx.data.hdxobject.HDXObjectUpperBound"
hdx/data/hdxobject.py:363: error: Need type annotation for variable
hdx/data/hdxobject.py:364: error: Value of type object is not indexable
hdx/data/hdxobject.py:370: error: Invalid type "hdx.data.hdxobject.HDXObjectUpperBound"
hdx/data/hdxobject.py:381: error: Need type annotation for variable
hdx/data/hdxobject.py:385: error: Invalid type "hdx.data.hdxobject.HDXObjectUpperBound"
hdx/data/hdxobject.py:398: error: Need type annotation for variable
hdx/data/hdxobject.py:407: error: Invalid type "hdx.data.hdxobject.HDXObjectUpperBound"
hdx/data/hdxobject.py:426: error: Need type annotation for variable
hdx/utilities/downloader.py:24: error: Unexpected keyword argument "raise_on_status" for "Retry"
hdx/utilities/downloader.py:29: error: Need type annotation for variable
hdx/utilities/downloader.py:81: error: Missing return statement
hdx/utilities/downloader.py:101: error: Missing return statement
hdx/data/resource.py:31: error: Need type annotation for variable
hdx/data/resource.py:199: error: Some element of union has no attribute "get"
hdx/data/resource.py:205: error: Argument 1 to "debug" of "Logger" has incompatible type "Union[Dict[Any, Any], str]"; expected "str"
hdx/data/resource.py:239: error: Argument 1 to "debug" of "Logger" has incompatible type "Union[Dict[Any, Any], str]"; expected "str"
hdx/data/dataset.py:117: error: Cannot determine type of 'resources'
hdx/data/dataset.py:134: error: Need type annotation for variable
hdx/data/dataset.py:152: error: Need type annotation for variable
hdx/data/dataset.py:152: error: Cannot determine type of 'resources'
hdx/data/dataset.py:182: error: Cannot determine type of 'resources'
hdx/data/dataset.py:186: error: Cannot determine type of 'resources'
hdx/data/dataset.py:195: error: Cannot determine type of 'resources'
hdx/data/dataset.py:204: error: Need type annotation for variable
hdx/data/dataset.py:222: error: Cannot determine type of 'gallery'
hdx/data/dataset.py:250: error: Cannot determine type of 'gallery'
hdx/data/dataset.py:254: error: Cannot determine type of 'gallery'
hdx/data/dataset.py:263: error: Cannot determine type of 'gallery'
hdx/data/dataset.py:317: error: Cannot determine type of 'resources'
hdx/data/dataset.py:324: error: Cannot determine type of 'gallery'
hdx/data/dataset.py:355: error: Cannot determine type of 'resources'
hdx/data/dataset.py:357: error: Cannot determine type of 'gallery'
hdx/data/dataset.py:380: error: Cannot determine type of 'resources'
hdx/data/dataset.py:395: error: Cannot determine type of 'resources'
hdx/data/dataset.py:399: error: Cannot determine type of 'resources'
hdx/data/dataset.py:400: error: Cannot determine type of 'resources'
hdx/data/dataset.py:412: error: Cannot determine type of 'gallery'
hdx/data/dataset.py:415: error: Cannot determine type of 'gallery'
hdx/data/dataset.py:429: error: Cannot determine type of 'gallery'
hdx/data/dataset.py:478: error: Cannot determine type of 'resources'
hdx/data/dataset.py:479: error: Cannot determine type of 'resources'
hdx/data/dataset.py:483: error: Cannot determine type of 'resources'
hdx/data/dataset.py:496: error: Cannot determine type of 'gallery'
hdx/data/dataset.py:498: error: Cannot determine type of 'gallery'
hdx/data/dataset.py:535: error: Need type annotation for variable
hdx/data/dataset.py:548: error: Some element of union has no attribute "get"
hdx/data/dataset.py:563: 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