From d222b6ae3caf4546c09b729587d82128d579bbde Mon Sep 17 00:00:00 2001 From: "deepsource-autofix[bot]" <62050782+deepsource-autofix[bot]@users.noreply.github.com> Date: Tue, 5 Dec 2023 01:58:09 +0000 Subject: [PATCH] style: format code with Black This commit fixes the style issues introduced in 88a2ab0 according to the output from Black. Details: None --- craftclash/__init__.py | 2 +- craftclash/tests/test_aboutscreen.py | 4 ++-- craftclash/tests/test_optionscreen.py | 4 ++-- main.py | 2 +- tests/test_main.py | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/craftclash/__init__.py b/craftclash/__init__.py index 4ef44ec..3ebe831 100644 --- a/craftclash/__init__.py +++ b/craftclash/__init__.py @@ -1,5 +1,5 @@ """Initialize PyPI Package""" -#pylint: disable=import-error, invalid-name +# pylint: disable=import-error, invalid-name from .aboutscreen import projectlicense, assetslicense, eula, aboutscreen from .optionscreen import optionsscreen diff --git a/craftclash/tests/test_aboutscreen.py b/craftclash/tests/test_aboutscreen.py index 7d3fa11..e15426d 100644 --- a/craftclash/tests/test_aboutscreen.py +++ b/craftclash/tests/test_aboutscreen.py @@ -1,5 +1,5 @@ """Test the AboutScreen class in aboutscreen.py.""" -#pylint: disable=import-error, invalid-name +# pylint: disable=import-error, invalid-name # Get out of the test directory import os @@ -14,7 +14,7 @@ class TestAboutScreen(unittest.TestCase): """Test the AboutScreen class in aboutscreen.py.""" - + def setUp(self): """Set up the test.""" self.about_screen = aboutscreen() diff --git a/craftclash/tests/test_optionscreen.py b/craftclash/tests/test_optionscreen.py index b30c125..055060c 100644 --- a/craftclash/tests/test_optionscreen.py +++ b/craftclash/tests/test_optionscreen.py @@ -1,5 +1,5 @@ """Test the OptionScreen class in optionscreen.py.""" -#pylint: disable=import-error, invalid-name +# pylint: disable=import-error, invalid-name # Get out of the test directory import os @@ -14,7 +14,7 @@ class TestOptionScreen(unittest.TestCase): """Test the OptionScreen class in optionscreen.py.""" - + def setUp(self): """Set up the test.""" self.option_screen = optionsscreen() diff --git a/main.py b/main.py index 7ca419c..b569872 100644 --- a/main.py +++ b/main.py @@ -14,7 +14,7 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . """ -#pylint: disable=import-error, invalid-name +# pylint: disable=import-error, invalid-name # Main program window. diff --git a/tests/test_main.py b/tests/test_main.py index 91bea10..11040df 100644 --- a/tests/test_main.py +++ b/tests/test_main.py @@ -1,5 +1,5 @@ """Test the main.py file.""" -#pylint: disable=import-error, invalid-name +# pylint: disable=import-error, invalid-name # Get out of the test directory import os @@ -14,7 +14,7 @@ class TestCraftClash(unittest.TestCase): """Test the CraftClash class in main.py.""" - + def setUp(self): """Set up the test.""" self.app = craftclash()