Browse Source

Added type ignore since it does accept it

Jaime van Kessel 3 years ago
parent
commit
82ffdccac2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      cura/Arranging/ShapeArray.py

+ 1 - 1
cura/Arranging/ShapeArray.py

@@ -110,7 +110,7 @@ class ShapeArray:
         :return: numpy array with dimensions defined by shape
         """
 
-        base_array = numpy.zeros(shape, dtype = numpy.int32)  # Initialize your array of zeros
+        base_array = numpy.zeros(shape, dtype = numpy.int32)  # type: ignore # Initialize your array of zeros
 
         fill = numpy.ones(base_array.shape) * True  # Initialize boolean array defining shape fill