Guest User

Untitled

a guest
Nov 12th, 2021
29
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.99 KB | None | 0 0
  1. pitop/camera/camera.py:104: error: Function is missing a return type annotation
  2. pitop/camera/camera.py:112: error: Function is missing a return type annotation
  3. pitop/camera/camera.py:116: error: Function is missing a type annotation
  4. pitop/camera/camera.py:117: error: Call to untyped function "image_format_check" in typed context
  5. pitop/camera/camera.py:121: error: Function is missing a type annotation
  6. pitop/camera/camera.py:126: error: Function is missing a type annotation
  7. pitop/camera/camera.py:127: error: Incompatible types in assignment (expression has type "None", variable has type "UsbCamera")
  8. pitop/camera/camera.py:132: error: Function is missing a return type annotation
  9. pitop/camera/camera.py:139: error: Function is missing a return type annotation
  10. pitop/camera/camera.py:145: error: Function is missing a type annotation
  11. pitop/camera/camera.py:161: error: Function is missing a type annotation
  12. pitop/camera/camera.py:185: error: Function is missing a return type annotation
  13. pitop/camera/camera.py:185: note: Use "-> None" if function does not return a value
  14. pitop/camera/camera.py:195: error: Function is missing a type annotation
  15. pitop/camera/camera.py:225: error: Function is missing a return type annotation
  16. pitop/camera/camera.py:225: note: Use "-> None" if function does not return a value
  17. pitop/camera/camera.py:235: error: Function is missing a type annotation
  18. pitop/camera/camera.py:272: error: Function is missing a return type annotation
  19. pitop/camera/camera.py:272: note: Use "-> None" if function does not return a value
  20. pitop/camera/camera.py:27: error: Function is missing a type annotation for one or more arguments
  21. pitop/camera/camera.py:281: error: Function is missing a return type annotation
  22. pitop/camera/camera.py:285: error: Call to untyped function "convert" in typed context
  23. pitop/camera/camera.py:289: error: Function is missing a return type annotation
  24. pitop/camera/camera.py:289: note: Use "-> None" if function does not return a value
  25. pitop/camera/camera.py:291: error: Call to untyped function "get_frame" in typed context
  26. pitop/camera/camera.py:302: error: Function is missing a type annotation
  27. pitop/camera/camera.py:318: error: Call to untyped function "__get_processed_current_frame" in typed context
  28. pitop/camera/camera.py:320: error: Function is missing a type annotation
  29. pitop/camera/camera.py:337: error: Call to untyped function "__get_processed_current_frame" in typed context
  30. pitop/camera/camera.py:67: error: Incompatible types in assignment (expression has type "FileSystemCamera", variable has type "UsbCamera")
  31. pitop/camera/camera.py:78: error: Call to untyped function "__init__" in typed context
  32. pitop/camera/camera.py:79: error: Call to untyped function "__init__" in typed context
  33. pitop/camera/camera.py:97: error: Function is missing a return type annotation
  34. pitop/camera/camera_calibration/load_parameters.py:17: error: Function is missing a return type annotation
  35. pitop/camera/core/cameras/file_system_camera.py:30: error: Need type annotation for "__images_arr" (hint: "__images_arr: List[<type>] = ...")
  36. pitop/camera/core/cameras/file_system_camera.py:40: error: Function is missing a return type annotation
  37. pitop/camera/core/cameras/file_system_camera.py:57: error: Function is missing a return type annotation
  38. pitop/camera/core/cameras/file_system_camera.py:57: note: Use "-> None" if function does not return a value
  39. pitop/camera/core/cameras/file_system_camera.py:61: error: Function is missing a return type annotation
  40. pitop/camera/core/cameras/file_system_camera.py:61: note: Use "-> None" if function does not return a value
  41. pitop/camera/core/cameras/file_system_camera.py:69: error: Function is missing a return type annotation
  42. pitop/camera/core/cameras/file_system_camera.py:73: error: Function is missing a return type annotation
  43. pitop/camera/core/cameras/file_system_camera.py:74: error: "None" has no attribute "path"
  44. pitop/camera/core/cameras/file_system_camera.py:76: error: Function is missing a return type annotation
  45. pitop/camera/core/cameras/file_system_camera.py:79: error: Function is missing a return type annotation
  46. pitop/camera/core/cameras/file_system_camera.py:80: error: Call to untyped function "__advance" in typed context
  47. pitop/camera/core/cameras/file_system_camera.py:81: error: "None" has no attribute "data"
  48. pitop/camera/core/cameras/file_system_camera.py:9: error: Call to untyped function "get_pil_image_from_path" in typed context
  49. pitop/camera/core/cameras/usb_camera.py:12: error: Function is missing a type annotation for one or more arguments
  50. pitop/camera/core/cameras/usb_camera.py:14: error: Incompatible default for argument "index" (default has type "None", argument has type "int")
  51. pitop/camera/core/cameras/usb_camera.py:21: error: Call to untyped function "import_opencv" in typed context
  52. pitop/camera/core/cameras/usb_camera.py:38: error: Function is missing a type annotation
  53. pitop/camera/core/cameras/usb_camera.py:45: error: Call to untyped function "create_camera_object" in typed context
  54. pitop/camera/core/cameras/usb_camera.py:46: error: Call to untyped function "is_opened" in typed context
  55. pitop/camera/core/cameras/usb_camera.py:52: error: Function is missing a return type annotation
  56. pitop/camera/core/cameras/usb_camera.py:52: note: Use "-> None" if function does not return a value
  57. pitop/camera/core/cameras/usb_camera.py:55: error: Item "None" of "Optional[Any]" has no attribute "release"
  58. pitop/camera/core/cameras/usb_camera.py:60: error: Function is missing a return type annotation
  59. pitop/camera/core/cameras/usb_camera.py:61: error: Call to untyped function "is_opened" in typed context
  60. pitop/camera/core/cameras/usb_camera.py:64: error: Item "None" of "Optional[Any]" has no attribute "read"
  61. pitop/camera/core/cameras/usb_camera.py:69: error: Call to untyped function "convert" in typed context
  62. pitop/camera/core/cameras/usb_camera.py:79: error: Function is missing a return type annotation
  63. pitop/camera/core/cameras/usb_camera.py:83: error: Function is missing a return type annotation
  64. pitop/camera/core/cameras/usb_camera.py:84: error: Call to untyped function "import_opencv" in typed context
  65. pitop/camera/core/capture_actions/capture_action_base.py:12: error: Function is missing a type annotation
  66. pitop/camera/core/capture_actions/capture_action_base.py:16: error: Function is missing a return type annotation
  67. pitop/camera/core/capture_actions/capture_action_base.py:16: note: Use "-> None" if function does not return a value
  68. pitop/camera/core/capture_actions/capture_action_base.py:19: error: Function is missing a type annotation
  69. pitop/camera/core/capture_actions/capture_action_base.py:24: error: Function is missing a return type annotation
  70. pitop/camera/core/capture_actions/generic_action.py:17: error: Function is missing a type annotation
  71. pitop/camera/core/capture_actions/generic_action.py:27: error: Function is missing a return type annotation
  72. pitop/camera/core/capture_actions/generic_action.py:27: note: Use "-> None" if function does not return a value
  73. pitop/camera/core/capture_actions/generic_action.py:28: error: Call to untyped function "stop" in typed context
  74. pitop/camera/core/capture_actions/generic_action.py:30: error: Function is missing a type annotation
  75. pitop/camera/core/capture_actions/generic_action.py:32: error: Call to untyped function "convert" in typed context
  76. pitop/camera/core/capture_actions/generic_action.py:41: error: Function is missing a return type annotation
  77. pitop/camera/core/capture_actions/generic_action.py:41: note: Use "-> None" if function does not return a value
  78. pitop/camera/core/capture_actions/generic_action.py:44: error: Incompatible types in assignment (expression has type "None", variable has type "ThreadPoolExecutor")
  79. pitop/camera/core/capture_actions/motion_detector.py:20: error: Function is missing a type annotation
  80. pitop/camera/core/capture_actions/motion_detector.py:21: error: Call to untyped function "import_opencv" in typed context
  81. pitop/camera/core/capture_actions/motion_detector.py:31: error: Function is missing a return type annotation
  82. pitop/camera/core/capture_actions/motion_detector.py:31: note: Use "-> None" if function does not return a value
  83. pitop/camera/core/capture_actions/motion_detector.py:32: error: Call to untyped function "stop" in typed context
  84. pitop/camera/core/capture_actions/motion_detector.py:34: error: Function is missing a type annotation
  85. pitop/camera/core/capture_actions/motion_detector.py:73: error: Function is missing a return type annotation
  86. pitop/camera/core/capture_actions/motion_detector.py:73: note: Use "-> None" if function does not return a value
  87. pitop/camera/core/capture_actions/motion_detector.py:76: error: Incompatible types in assignment (expression has type "None", variable has type "ThreadPoolExecutor")
  88. pitop/camera/core/capture_actions/store_frame.py:10: error: Call to untyped function "_create_output_directory" in typed context
  89. pitop/camera/core/capture_actions/store_frame.py:11: error: Call to untyped function "_get_output_filename" in typed context
  90. pitop/camera/core/capture_actions/store_frame.py:14: error: Function is missing a type annotation
  91. pitop/camera/core/capture_actions/store_frame.py:18: error: Function is missing a return type annotation
  92. pitop/camera/core/capture_actions/store_frame.py:18: note: Use "-> None" if function does not return a value
  93. pitop/camera/core/capture_actions/store_frame.py:8: error: Function is missing a type annotation
  94. pitop/camera/core/capture_actions/video_capture.py:21: error: Function is missing a type annotation
  95. pitop/camera/core/capture_actions/video_capture.py:27: error: Call to untyped function "_create_output_directory" in typed context
  96. pitop/camera/core/capture_actions/video_capture.py:28: error: Call to untyped function "_get_output_filename" in typed context
  97. pitop/camera/core/capture_actions/video_capture.py:33: error: Function is missing a type annotation
  98. pitop/camera/core/capture_actions/video_capture.py:39: error: Call to untyped function "fix_dimension" in typed context
  99. pitop/camera/core/capture_actions/video_capture.py:44: error: Function is missing a type annotation
  100. pitop/camera/core/capture_actions/video_capture.py:49: error: Function is missing a return type annotation
  101. pitop/camera/core/capture_actions/video_capture.py:49: note: Use "-> None" if function does not return a value
  102. pitop/camera/core/frame_handler.py:17: error: Need type annotation for "__capture_actions" (hint: "__capture_actions: Dict[<type>, <type>] = ...")
  103. pitop/camera/core/frame_handler.py:24: error: Function is missing a return type annotation
  104. pitop/camera/core/frame_handler.py:30: error: Function is missing a type annotation
  105. pitop/camera/core/frame_handler.py:53: error: Untyped decorator makes function "register_action" untyped
  106. pitop/camera/core/frame_handler.py:54: error: Missing type parameters for generic type "dict"
  107. pitop/camera/core/frame_handler.py:72: error: Untyped decorator makes function "remove_action" untyped
  108. pitop/camera/core/frame_handler.py:84: error: Missing type parameters for generic type "list"
  109. pitop/camera/core/frame_handler.py:94: error: Untyped decorator makes function "is_running_action" untyped
Advertisement
Add Comment
Please, Sign In to add comment