Skip to content

Commit d827717

Browse files
committed
Formatting
1 parent f25afab commit d827717

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

software/firmware/setup.py

+2-4
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,11 @@ def build_firmware_module_list():
1111
excluded = {"__init__.py", "setup.py"}
1212

1313
# grab files from the local directory first
14-
modules = [
15-
f[:-3] for f in os.listdir(".") if f.endswith(".py") and not f in excluded
16-
]
14+
modules = [f[:-3] for f in os.listdir(".") if f.endswith(".py") and not f in excluded]
1715

1816
# add any modules in additional directories
1917
for d in dirs:
20-
for (root_dir, subdirs, files) in os.walk(d):
18+
for root_dir, subdirs, files in os.walk(d):
2119
for f in files:
2220
if f.endswith(".py") and not f in excluded:
2321
modules.append(root_dir.replace("/", ".") + "." + f[:-3])

0 commit comments

Comments
 (0)