Skip to content

Commit 2c5c1cc

Browse files
committed
Quality pass
1 parent 7b8c0df commit 2c5c1cc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sonar/projects.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1013,7 +1013,7 @@ def export(self, export_settings: types.ConfigSettings, settings_list: Optional[
10131013
if self.endpoint.version() >= (10, 7, 0):
10141014
json_data["aiCodeFix"] = self.ai_code_fix()
10151015
json_data["branches"] = self.__get_branch_export(export_settings)
1016-
[b.pop("project") for b in json_data["branches"]]
1016+
_ = [b.pop("project") for b in json_data["branches"]]
10171017
json_data["tags"] = self.get_tags()
10181018
json_data["visibility"] = self.visibility()
10191019
(json_data["qualityGate"], qg_is_default) = self.quality_gate()
@@ -1051,7 +1051,7 @@ def export(self, export_settings: types.ConfigSettings, settings_list: Optional[
10511051
json_data[_CONTAINS_AI_CODE] = contains_ai
10521052
json_data["settings"] = util.sort_list_by_key([s.to_json() for s in settings_list], "key")
10531053
if not with_inherited:
1054-
[s.pop("isDefault", None) for s in json_data["settings"]]
1054+
_ = [s.pop("isDefault", None) for s in json_data["settings"]]
10551055

10561056
except Exception as e:
10571057
util.handle_error(e, f"exporting {str(self)}, export of this project interrupted", catch_all=True)

0 commit comments

Comments
 (0)