Skip to content

Commit

Permalink
Merge pull request #274 from Rechi/pylint
Browse files Browse the repository at this point in the history
pylint: fix superfluous-parens & unused-variable
  • Loading branch information
razzeee authored Jun 11, 2024
2 parents 0bfecc9 + 42d2562 commit 440a545
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion kodi_addon_checker/addons/Repository.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def __init__(self, version, path):
try:
response = self._session.get(path, timeout=(30, 30))
response.raise_for_status()
except requests.exceptions.RequestException as exc:
except requests.exceptions.RequestException:
return
content = response.content

Expand Down
2 changes: 1 addition & 1 deletion tests/test_check_po_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def setUp(self):
load_plugins()
ReportManager.enable(["array"])
self.report = Report("")
self.report_matches = ("ERROR: Invalid PO file")
self.report_matches = "ERROR: Invalid PO file"

def test_check_for_invalid_strings_po_valid_file(self):
ReportManager.getEnabledReporters()[0].reports = []
Expand Down

0 comments on commit 440a545

Please sign in to comment.