Skip to content

Commit cfe50bb

Browse files
committed
format
1 parent 58e624b commit cfe50bb

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

adabot/circuitpython_bundle.py

+2-6
Original file line numberDiff line numberDiff line change
@@ -159,9 +159,7 @@ def check_lib_links_md(bundle_path):
159159
lib_count = len(submodules_list)
160160
# used to generate commit message by comparing new libs to current list
161161
try:
162-
with open(
163-
os.path.join(bundle_path, listfile_name), "r"
164-
) as lib_list:
162+
with open(os.path.join(bundle_path, listfile_name), "r") as lib_list:
165163
read_lines = lib_list.read().splitlines()
166164
except OSError:
167165
read_lines = []
@@ -204,9 +202,7 @@ def check_lib_links_md(bundle_path):
204202
"## Drivers:\n",
205203
]
206204

207-
with open(
208-
os.path.join(bundle_path, listfile_name), "w"
209-
) as md_file:
205+
with open(os.path.join(bundle_path, listfile_name), "w") as md_file:
210206
md_file.write("\n".join(lib_list_header))
211207
for line in sorted(write_drivers):
212208
md_file.write(line + "\n")

0 commit comments

Comments
 (0)