diff --git a/pythonrepo/pythonrepo.py b/pythonrepo/pythonrepo.py index 313efde..4424085 100644 --- a/pythonrepo/pythonrepo.py +++ b/pythonrepo/pythonrepo.py @@ -36,7 +36,6 @@ from . import __version__ -"""The version of this program.""" __prog__ = str(__module__) diff --git a/tests/profiling.py b/tests/profiling.py index 5341521..71ce87c 100644 --- a/tests/profiling.py +++ b/tests/profiling.py @@ -135,7 +135,6 @@ def __enter__(self): def __exit__(self, type, value, traceback): # skipcq: PYL-W0622 self.checkpoint(str("finished")) - pass def do_time_profile(func, timer_name="time_profile"): diff --git a/tests/test_basic.py b/tests/test_basic.py index f76f54f..5a96de8 100644 --- a/tests/test_basic.py +++ b/tests/test_basic.py @@ -27,11 +27,12 @@ class BasicTestSuite(unittest.TestCase): def test_absolute_truth_and_meaning(self): """Insanitty Test. Because it only matters if we're not mad as hatters.""" assert True + self.assertTrue(True) # skipcq: PYL-W1503 def test_meta_test(self): """Insanity Test for unittests assertion.""" - self.assertTrue(True) - self.assertFalse(False) + self.assertTrue(True) # skipcq: PYL-W1503 + self.assertFalse(False) # skipcq: PYL-W1503 self.assertIsNone(None) def test_syntax(self): diff --git a/tests/test_usage.py b/tests/test_usage.py index 8750ef1..b75d253 100644 --- a/tests/test_usage.py +++ b/tests/test_usage.py @@ -3,7 +3,7 @@ # Python Repo Template # .................................. -# Copyright (c) 2017-2019, Kendrick Walls +# Copyright (c) 2017-2024, Kendrick Walls # .................................. # Licensed under MIT (the "License"); # you may not use this file except in compliance with the License. @@ -57,7 +57,7 @@ def buildPythonCommand(args=None): # you need to change this to the name of your project __project__ = str("pythonrepo") try: - if args is None or args is [None]: + if args is None or (args == [None]): theArgs = ["exit 1 ; #"] else: theArgs = args @@ -166,7 +166,7 @@ class BasicUsageTestSuite(unittest.TestCase): def test_absolute_truth_and_meaning(self): """Insanity Test. if ( is true ) usage.""" - self.assertTrue(True) + self.assertTrue(True) # skipcq: PYL-W1503 def test_syntax(self): """Test case importing code. if ( import is not None ) usage."""