report.xml 6.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <testsuite errors="0" failures="1" name="mypy" skips="0" tests="1" time="1.375">
  3. <testcase classname="mypy" file="mypy" line="1" name="mypy-py3_8-darwin" time="1.375">
  4. <failure message="mypy produced messages">telecaster/telecaster/sanitizers/prestashop_backoffice_api_sanitizer.py:1: error: Relative import climbs too many namespaces
  5. telecaster/telecaster/sanitizers/prestashop_backoffice_api_sanitizer.py:2: error: Relative import climbs too many namespaces
  6. telecaster/telecaster/sanitizers/prestashop_backoffice_api_sanitizer.py:6: error: Function is missing a type annotation
  7. telecaster/telecaster/sanitizers/prestashop_backoffice_api_sanitizer.py:41: error: Function is missing a type annotation
  8. telecaster/telecaster/sanitizers/prestashop_backoffice_api_sanitizer.py:42: error: Call to untyped function "product" in typed context
  9. telecaster/telecaster/sanitizers/prestashop_backoffice_api_sanitizer.py:45: error: Function is missing a type annotation
  10. telecaster/telecaster/sanitizers/prestashop_backoffice_api_sanitizer.py:53: error: Function is missing a type annotation
  11. telecaster/telecaster/sanitizers/prestashop_backoffice_api_sanitizer.py:54: error: Call to untyped function "category" in typed context
  12. telecaster/telecaster/parsers/parse_xml_to_json.py:1: error: Function is missing a type annotation
  13. telecaster/telecaster/parsers/parse_xml_to_json.py:5: error: Call to untyped function "parse_xml_to_json" in typed context
  14. telecaster/telecaster/parsers/parse_xml_to_json.py:12: error: Function is missing a type annotation
  15. telecaster/telecaster/parsers/parse_xml_to_json.py:17: error: Call to untyped function "parse_prestashop_xml_products" in typed context
  16. telecaster/telecaster/parsers/cdata_parser.py:1: error: Function is missing a type annotation
  17. telecaster/telecaster/Clients/BaseClient.py:1: error: Library stubs not installed for "requests" (or incompatible with Python 3.8)
  18. telecaster/telecaster/Clients/BaseClient.py:1: note: Hint: "python3 -m pip install types-requests"
  19. telecaster/telecaster/Clients/BaseClient.py:1: note: (or run "mypy --install-types" to install all missing stub packages)
  20. telecaster/telecaster/Clients/BaseClient.py:1: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
  21. telecaster/telecaster/Clients/BaseClient.py:5: error: Function is missing a type annotation
  22. telecaster/telecaster/Clients/BaseClient.py:13: error: Function is missing a type annotation
  23. telecaster/telecaster/Clients/BaseClient.py:16: error: Function is missing a return type annotation
  24. telecaster/telecaster/Clients/BaseClient.py:16: note: Use "-&gt; None" if function does not return a value
  25. telecaster/telecaster/Clients/BaseClient.py:19: error: Function is missing a return type annotation
  26. telecaster/telecaster/Clients/BaseClient.py:19: note: Use "-&gt; None" if function does not return a value
  27. telecaster/telecaster/Clients/BaseClient.py:22: error: Function is missing a return type annotation
  28. telecaster/telecaster/Clients/BaseClient.py:22: note: Use "-&gt; None" if function does not return a value
  29. telecaster/telecaster/settings.py:28: error: Need type annotation for "ALLOWED_HOSTS" (hint: "ALLOWED_HOSTS: List[&lt;type&gt;] = ...")
  30. telecaster/telecaster/serializers/XmlGeneratorSerializer.py:10: error: Class cannot subclass "Serializer" (has type "Any")
  31. telecaster/telecaster/serializers/XmlGeneratorSerializer.py:12: error: Function is missing a type annotation
  32. telecaster/telecaster/serializers/XmlGeneratorSerializer.py:16: error: Function is missing a type annotation
  33. telecaster/telecaster/serializers/XmlGeneratorSerializer.py:29: error: Function is missing a type annotation
  34. telecaster/telecaster/serializers/XmlGeneratorSerializer.py:71: error: Call to untyped function "validate_product_for_skroutz" of "XmlGeneratorSerializer" in typed context
  35. telecaster/telecaster/Clients/PrestaShopClient.py:4: error: Relative import climbs too many namespaces
  36. telecaster/telecaster/Clients/PrestaShopClient.py:7: error: Class cannot subclass "BaseClient" (has type "Any")
  37. telecaster/telecaster/Clients/PrestaShopClient.py:8: error: Function is missing a type annotation
  38. telecaster/telecaster/Clients/PrestaShopClient.py:12: error: Function is missing a type annotation
  39. telecaster/telecaster/Clients/PrestaShopClient.py:16: error: Function is missing a type annotation
  40. telecaster/telecaster/Clients/PrestaShopClient.py:21: error: Call to untyped function "build_url" in typed context
  41. telecaster/telecaster/Clients/PrestaShopClient.py:32: error: Function is missing a type annotation
  42. telecaster/telecaster/Clients/PrestaShopClient.py:34: error: Call to untyped function "build_url" in typed context
  43. telecaster/telecaster/views/XmlGeneratorView.py:11: error: Class cannot subclass "APIView" (has type "Any")
  44. telecaster/telecaster/views/XmlGeneratorView.py:17: error: Function is missing a type annotation for one or more arguments
  45. telecaster/telecaster/views/XmlGeneratorView.py:21: error: Function is missing a type annotation for one or more arguments
  46. telecaster/telecaster/views/XmlGeneratorView.py:39: error: Call to untyped function "for_xml" of "XmlGeneratorSerializer" in typed context
  47. telecaster/telecaster/views/XmlGeneratorView.py:42: error: Returning Any from function declared to return "JsonResponse"
  48. telecaster/telecaster/tests/conftest.py:8: error: Function is missing a return type annotation
  49. telecaster/telecaster/tests/conftest.py:13: error: Function is missing a type annotation
  50. telecaster/telecaster/tests/conftest.py:14: error: Function is missing a type annotation
  51. telecaster/telecaster/tests/conftest.py:24: error: Function is missing a type annotation
  52. telecaster/telecaster/tests/conftest.py:25: error: Function is missing a type annotation
  53. telecaster/telecaster/tests/conftest.py:35: error: Function is missing a return type annotation
  54. telecaster/telecaster/tests/conftest.py:42: error: Function is missing a type annotation
  55. telecaster/telecaster/tests/conftest.py:49: error: Function is missing a type annotation
  56. telecaster/telecaster/tests/parsers/test_presta_shop_parser.py:9: error: Function is missing a return type annotation
  57. telecaster/telecaster/tests/parsers/test_presta_shop_parser.py:15: error: Function is missing a return type annotation
  58. telecaster/telecaster/tests/parsers/test_presta_shop_parser.py:20: error: Function is missing a type annotation
  59. telecaster/telecaster/tests/parsers/test_presta_shop_parser.py:28: error: Function is missing a type annotation</failure>
  60. </testcase>
  61. </testsuite>