summaryrefslogtreecommitdiff
path: root/tools/codeformat.py
diff options
context:
space:
mode:
authorAngus Gratton <angus@redyak.com.au>2023-08-09 17:41:54 +1000
committerAngus Gratton <angus@redyak.com.au>2023-08-09 17:41:54 +1000
commit597fcb47518c842d445975961737832569fe3529 (patch)
tree6926fc8cc9edd3df2f2c373084900121d3819135 /tools/codeformat.py
parentd529c20674131b9ce36853b92784e901a1bc86f4 (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