Advertisement
goatbar

pytype pystac

Oct 21st, 2020
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.28 KB | None | 0 0
  1. pytype pystac
  2. Computing dependencies
  3. Analyzing 29 sources with 0 local dependencies
  4. ninja: Entering directory `/usr/local/google/home/schwehr/src/pystac-schwehr/.pytype'
  5. [3/52] check pystac.stac_io
  6. FAILED: /usr/local/google/home/schwehr/src/pystac-schwehr/.pytype/pyi/pystac/stac_io.pyi
  7. /usr/local/google/home/schwehr/src/pystac-schwehr/ve/bin/python -m pytype.single --imports_info /usr/local/google/home/schwehr/src/pystac-schwehr/.pytype/imports/pystac.stac_io.imports --module-name pystac.stac_io -V 3.8 -o /usr/local/google/home/schwehr/src/pystac-schwehr/.pytype/pyi/pystac/stac_io.pyi --analyze-annotated --nofail --quick /usr/local/google/home/schwehr/src/pystac-schwehr/pystac/stac_io.py
  8. File "/usr/local/google/home/schwehr/src/pystac-schwehr/pystac/stac_io.py", line 16, in default_read_text_method: Function urllib.parse.urlparse was called with the wrong arguments [wrong-arg-types]
  9. Expected: (url: str, ...)
  10. Actually passed: (url: STAC_IO)
  11. File "/usr/local/google/home/schwehr/src/pystac-schwehr/pystac/stac_io.py", line 19, in default_read_text_method: Function urllib.request.urlopen was called with the wrong arguments [wrong-arg-types]
  12. Expected: (url: Union[str, urllib.request.Request], ...)
  13. Actually passed: (url: STAC_IO)
  14. File "/usr/local/google/home/schwehr/src/pystac-schwehr/pystac/stac_io.py", line 24, in default_read_text_method: Built-in function open was called with the wrong arguments [wrong-arg-types]
  15. Expected: (file: Union[_PathLike, bytes, int, str], ...)
  16. Actually passed: (file: STAC_IO)
  17. File "/usr/local/google/home/schwehr/src/pystac-schwehr/pystac/stac_io.py", line 29, in default_write_text_method: Function os.path.dirname was called with the wrong arguments [wrong-arg-types]
  18. Expected: (p: _PathLike[Union[bytes, str]])
  19. Actually passed: (p: STAC_IO)
  20. File "/usr/local/google/home/schwehr/src/pystac-schwehr/pystac/stac_io.py", line 32, in default_write_text_method: Built-in function open was called with the wrong arguments [wrong-arg-types]
  21. Expected: (file: Union[_PathLike, bytes, int, str], ...)
  22. Actually passed: (file: STAC_IO, ...)
  23. File "/usr/local/google/home/schwehr/src/pystac-schwehr/pystac/stac_io.py", line 131, in read_stac_object: No attribute 'stac_object_from_dict' on Type[STAC_IO] [attribute-error]
  24.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement