mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-30 18:17:13 +02:00
Fix PyLint
This commit is contained in:
@ -584,16 +584,16 @@ class ProjectAsLibBuilder(LibBuilderBase):
|
|||||||
# skip for project, options are already processed
|
# skip for project, options are already processed
|
||||||
pass
|
pass
|
||||||
|
|
||||||
def process_dependencies(self):
|
def process_dependencies(self): # pylint: disable=too-many-branches
|
||||||
dependencies = self.env.get("LIB_DEPS", [])
|
uris = self.env.get("LIB_DEPS", [])
|
||||||
if not dependencies:
|
if not uris:
|
||||||
return
|
return
|
||||||
storage_dirs = []
|
storage_dirs = []
|
||||||
for lb in self.env.GetLibBuilders():
|
for lb in self.env.GetLibBuilders():
|
||||||
if dirname(lb.path) not in storage_dirs:
|
if dirname(lb.path) not in storage_dirs:
|
||||||
storage_dirs.append(dirname(lb.path))
|
storage_dirs.append(dirname(lb.path))
|
||||||
|
|
||||||
for uri in self.env.get("LIB_DEPS", []):
|
for uri in uris:
|
||||||
found = False
|
found = False
|
||||||
for storage_dir in storage_dirs:
|
for storage_dir in storage_dirs:
|
||||||
if found:
|
if found:
|
||||||
|
Reference in New Issue
Block a user