diff options
author | Ruomei Yan <ruomei.yan@arm.com> | 2022-08-16 09:06:55 +0100 |
---|---|---|
committer | Ruomei Yan <ruomei.yan@arm.com> | 2022-08-31 12:06:43 +0100 |
commit | 5f58ee6582030c6317e86e42fbe193dc78cc5619 (patch) | |
tree | adffd7b20ec22e8ee5afd73eb8079990a9ee0e96 /setup.cfg | |
parent | 088303393df8bf49e4ea2958e88ff05aa50dd1ec (diff) | |
download | mlia-5f58ee6582030c6317e86e42fbe193dc78cc5619.tar.gz |
MLIA-599 Enable testing for aarch64: unit tests
- mypy issue: to make the comment #type: ignore platform specific,
flags like platform.machine() cannot be recognized by mypy, so we
cannot isolate the specific lines of code that fail mypy tests
- numpy issue: for numpy version < 1.20, the function np.unique
has not been type annotated, which caused mypy throwing the error
when we run our unit tests in aarch64
- because of the above two reasons, we use function decorator to
turn off type checking for entire functions to remove all
annotations so that the mypy error for certain lines can be silented
Change-Id: Id91e65ef7677b78b4c9c85b8412229e3672e3a66
Diffstat (limited to 'setup.cfg')
0 files changed, 0 insertions, 0 deletions