Skip to content

Commit b930ff2

Browse files
authored
Fix linting (#2255)
1 parent e686586 commit b930ff2

File tree

1 file changed

+1
-1
lines changed
  • integrations/github/src/haystack_integrations/components/connectors/github

1 file changed

+1
-1
lines changed

integrations/github/src/haystack_integrations/components/connectors/github/file_editor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ def _create_file(self, owner: str, repo: str, payload: Dict[str, str], branch: s
225225
def _delete_file(self, owner: str, repo: str, payload: Dict[str, str], branch: str) -> str:
226226
"""Handle file deletion."""
227227
try:
228-
content, sha = self._get_file_content(owner, repo, payload["path"], branch)
228+
_, sha = self._get_file_content(owner, repo, payload["path"], branch)
229229
url = f"https://api.github.com/repos/{owner}/{repo}/contents/{payload['path']}"
230230

231231
data = {"message": payload["message"], "sha": sha, "branch": branch}

0 commit comments

Comments
 (0)