Skip to content

Commit

Permalink
refactor(tests): Remove unneeded empty lines
Browse files Browse the repository at this point in the history
Signed-off-by: Benjamin Drung <[email protected]>
  • Loading branch information
bdrung committed Aug 1, 2024
1 parent 8203569 commit e70fd80
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion tests/test_black.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ class BlackTestCase(unittest.TestCase):
@unittest.skipIf(os.environ.get("SKIP_LINTERS"), "requested via SKIP_LINTERS env variable")
def test_black(self) -> None:
"""Test: Run black code formatter on Python source code."""

cmd = ["black", "--check", "--diff"] + get_source_files()
if unittest_verbosity() >= 2:
sys.stderr.write(f"Running following command:\n{' '.join(cmd)}\n")
Expand Down
1 change: 0 additions & 1 deletion tests/test_isort.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ class IsortTestCase(unittest.TestCase):
@unittest.skipIf(os.environ.get("SKIP_LINTERS"), "requested via SKIP_LINTERS env variable")
def test_isort(self) -> None:
"""Test: Run isort on Python source code."""

cmd = ["isort", "--check-only", "--diff"] + get_source_files()
if unittest_verbosity() >= 2:
sys.stderr.write(f"Running following command:\n{' '.join(cmd)}\n")
Expand Down
1 change: 0 additions & 1 deletion tests/test_pylint.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ class PylintTestCase(unittest.TestCase):

def test_pylint(self) -> None:
"""Test: Run pylint on Python source code."""

cmd = ["pylint", "--rcfile=" + CONFIG, "--"] + get_source_files()
if os.environ.get("SKIP_LINTERS"):
cmd.insert(2, "--errors-only")
Expand Down

0 comments on commit e70fd80

Please sign in to comment.