Skip to content

Commit

Permalink
fix: pylint and black
Browse files Browse the repository at this point in the history
  • Loading branch information
koen1711 committed Feb 20, 2025
1 parent bf76c42 commit 48078b8
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions deps/sketch.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,9 +256,11 @@ async def refresh_library_index():
return
logger.info("Updating library index...")
global library_index_json, library_indexed_json # pylint: disable=global-statement
library_index_json = (await httpx.get(
"https://downloads.arduino.cc/libraries/library_index.json",
)).json()
library_index_json = (
await httpx.get(
"https://downloads.arduino.cc/libraries/library_index.json",
)
).json()
library_indexed_json = {}
for index_library in library_index_json["libraries"]:
if index_library["name"] not in library_indexed_json:
Expand Down

0 comments on commit 48078b8

Please sign in to comment.