From f05eddc06b921388d4cad99c4c2b329a6b0e6553 Mon Sep 17 00:00:00 2001 From: GeckoEidechse Date: Tue, 30 Jan 2024 16:30:46 +0100 Subject: [PATCH] style: Remove trailing whitespaces --- tools/test_verify_versions.py | 4 ++-- tools/verify_versions.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/test_verify_versions.py b/tools/test_verify_versions.py index 17ef2fb..09333c5 100644 --- a/tools/test_verify_versions.py +++ b/tools/test_verify_versions.py @@ -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") diff --git a/tools/verify_versions.py b/tools/verify_versions.py index b905e8c..6c06c20 100644 --- a/tools/verify_versions.py +++ b/tools/verify_versions.py @@ -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']))