Skip to content

Commit

Permalink
style: Remove trailing whitespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
GeckoEidechse committed Jan 30, 2024
1 parent 13ebb81 commit f05eddc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tools/test_verify_versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ class TestRetrieveTagInfo(unittest.TestCase):
def test_tag_on_first_page(self):
data = verify_versions.retrieve_tag_info("1.0.9", "https://api.github.com/repos/Dinorush/LTSRebalance/tags")
self.assertEqual(data['name'], "1.0.9")

def test_tag_on_third_page(self):
data = verify_versions.retrieve_tag_info("0.10.6.3", "https://api.github.com/repos/Dinorush/LTSRebalance/tags")
self.assertEqual(data['name'], "0.10.6.3")

def test_unknown_tag(self):
with self.assertRaises(LookupError) as context:
verify_versions.retrieve_tag_info("unknown_tag", "https://api.github.com/repos/Alystrasz/Alystrasz.Parkour/tags")
Expand Down
2 changes: 1 addition & 1 deletion tools/verify_versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def verify_all_mod_versions():
for version in manifesto[mod]['Versions']:
distant_version = retrieve_tag_info(version['Version'], tags_url)
local_hash = version['CommitHash']

# Compare manifesto commit hash with repository hash
if local_hash == distant_version['commit']['sha']:
print('\t✔️ v{}'.format(version['Version']))
Expand Down

0 comments on commit f05eddc

Please sign in to comment.