Misc sonarcloud fixes

This commit is contained in:
Willy-JL
2023-02-13 00:01:49 +00:00
parent 8812dbc2cd
commit 53780e72ed
5 changed files with 8 additions and 7 deletions
+2 -1
View File
@@ -194,6 +194,8 @@ class AppBuildset:
return self.appmgr.get(app_name).supports_hardware_target(self.hw_target)
def _get_app_depends(self, app_name: str) -> List[str]:
app_def = self.appmgr.get(app_name)
# Skip app if its target is not supported by the target we are building for
if not self._check_if_app_target_supported(app_name):
self._writer(
@@ -201,7 +203,6 @@ class AppBuildset:
)
return []
app_def = self.appmgr.get(app_name)
return list(
filter(
self._check_if_app_target_supported,