From e55df04e362624e2f98274077a29ee65c8453070 Mon Sep 17 00:00:00 2001 From: Matt Strapp Date: Fri, 1 Nov 2024 15:48:34 -0500 Subject: Lint ourselves Signed-off-by: Matt Strapp --- src/Locusts.cs | 16 ++++++++-------- src/locusts.py | 10 ++++++---- src/test_locusts.py | 7 ++++--- 3 files changed, 18 insertions(+), 15 deletions(-) (limited to 'src') diff --git a/src/Locusts.cs b/src/Locusts.cs index c35a38c..354ee85 100644 --- a/src/Locusts.cs +++ b/src/Locusts.cs @@ -5,16 +5,16 @@ /// public static class Locusts { - /// - /// Introduce locusts into your codebase. - /// - /// - /// This method will introduce locusts into your codebase. + /// + /// Introduce locusts into your codebase. + /// + /// + /// This method will introduce locusts into your codebase. /// /// Locusts are not included with this library, you must provide your own. - /// - public static void IntroduceLocusts() + /// + public static void IntroduceLocusts() { // Method intentionally left empty. } -} +} \ No newline at end of file diff --git a/src/locusts.py b/src/locusts.py index f050133..c3d10ca 100644 --- a/src/locusts.py +++ b/src/locusts.py @@ -1,6 +1,8 @@ +"""Here be locusts.""" + def introduce_locusts(): - """ - Introduce locusts into your codebase. + """ + Introduce locusts into your codebase. - Note that locusts are not included with this package, you must provide your own. - """ + Note that locusts are not included with this package, you must provide your own. + """ diff --git a/src/test_locusts.py b/src/test_locusts.py index 68e6df7..8026315 100644 --- a/src/test_locusts.py +++ b/src/test_locusts.py @@ -1,9 +1,10 @@ +""""Run tests for locusts.py.""" import unittest from locusts import introduce_locusts class TestLocusts(unittest.TestCase): - def test_introduce_locusts(self): - self.assertIsNone(introduce_locusts()) + def test_introduce_locusts(self): + self.assertIsNone(introduce_locusts()) if __name__ == '__main__': - unittest.main() \ No newline at end of file + unittest.main() -- cgit v1.2.3