We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f25afab commit d827717Copy full SHA for d827717
software/firmware/setup.py
@@ -11,13 +11,11 @@ def build_firmware_module_list():
11
excluded = {"__init__.py", "setup.py"}
12
13
# 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
- ]
+ modules = [f[:-3] for f in os.listdir(".") if f.endswith(".py") and not f in excluded]
17
18
# add any modules in additional directories
19
for d in dirs:
20
- for (root_dir, subdirs, files) in os.walk(d):
+ for root_dir, subdirs, files in os.walk(d):
21
for f in files:
22
if f.endswith(".py") and not f in excluded:
23
modules.append(root_dir.replace("/", ".") + "." + f[:-3])
0 commit comments