Skip to content

Commit f2e02b3

Browse files
committed
style: fix lint violations about unused API
per `ruff check`
1 parent 23399e5 commit f2e02b3

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

circuitpython_build_tools/build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def get_nested(doc, *args, default=None):
8484
if doc is None: return default
8585
try:
8686
doc = doc[a]
87-
except (KeyError, IndexError) as e:
87+
except (KeyError, IndexError):
8888
return default
8989
return doc
9090

circuitpython_build_tools/scripts/build_mpy_cross.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@
2525
from circuitpython_build_tools import build
2626
from circuitpython_build_tools import target_versions
2727

28-
import os
29-
import sys
30-
3128
import click
3229

3330
@click.command

0 commit comments

Comments
 (0)