Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jul 1, 2024
1 parent 595ae66 commit 6b5100b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/domain/backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def save_convert_token(self, language: str, token: str) -> None:
@Slot(str, result=str)
def get_convert_token(self, language: str) -> str | None:
tokens: dict[str, str] = self.token_manager.read_tokens()
return tokens.get(language, None)
return tokens.get(language)

@Slot(result=list)
def get_languages(self) -> list[dict[str, str]]:
Expand Down
1 change: 1 addition & 0 deletions src/domain/clipboardproxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ def getClipboardText(self) -> str:
Returns
-------
str: _description_
"""
return str(self._clipboard.text())

Expand Down

0 comments on commit 6b5100b

Please sign in to comment.