diff options
author | Angus Gratton <angus@redyak.com.au> | 2023-08-09 17:41:54 +1000 |
---|---|---|
committer | Angus Gratton <angus@redyak.com.au> | 2023-08-09 17:41:54 +1000 |
commit | 597fcb47518c842d445975961737832569fe3529 (patch) | |
tree | 6926fc8cc9edd3df2f2c373084900121d3819135 /tools/codeformat.py | |
parent | d529c20674131b9ce36853b92784e901a1bc86f4 (diff) |
tools/mpy-tool.py: Use isinstance() for type checking.
Ruff version 283 expanded E721 to fail when making direct comparison
against a built-in type. Change the code to use isinstance() as
suggested, these usages appear to have equivalent functionality.
Signed-off-by: Angus Gratton <angus@redyak.com.au>
Diffstat (limited to 'tools/codeformat.py')
0 files changed, 0 insertions, 0 deletions