Skip to content

Commit

Permalink
Merge pull request #461 from jepler/fix-mypy-920
Browse files Browse the repository at this point in the history
Change how we alias the float and bool types for mypy
  • Loading branch information
v923z authored Dec 17, 2021
2 parents 91c01ef + 71b3ba1 commit a99e0b9
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions code/numpy/numerical.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,8 @@ enum NUMERICAL_FUNCTION_TYPE {
//| _DType = int
//| """`ulab.numpy.int8`, `ulab.numpy.uint8`, `ulab.numpy.int16`, `ulab.numpy.uint16`, `ulab.numpy.float` or `ulab.numpy.bool`"""
//|
//| _float = float
//| """Type alias of the bulitin float"""
//|
//| _bool = bool
//| """Type alias of the bulitin bool"""
//| from builtins import float as _float
//| from builtins import bool as _bool
//|
//| int8: _DType
//| """Type code for signed integers in the range -128 .. 127 inclusive, like the 'b' typecode of `array.array`"""
Expand Down

0 comments on commit a99e0b9

Please sign in to comment.