Skip to content

Commit 15a5987

Browse files
committed
FIX: pylint fixes
1 parent dd9bddd commit 15a5987

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

tests/test_param_pid_adjustment_update.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515
SPDX-License-Identifier: GPL-3.0-or-later
1616
"""
1717

18-
# pylint: skip-file
19-
2018
import argparse
2119
import os
2220
import shutil
@@ -28,6 +26,8 @@
2826

2927

3028
class TestRangedType(unittest.TestCase):
29+
"""Test cases for validating the ranged_type function."""
30+
3131
def test_valid_input(self) -> None:
3232
assert ranged_type(int, 1, 10)(5) == 5
3333
assert ranged_type(float, 0.1, 0.8)(0.5) == 0.5
@@ -45,6 +45,8 @@ def test_invalid_input(self) -> None:
4545

4646

4747
class TestLoadParamFileIntoDict(unittest.TestCase):
48+
"""Test cases for validating the LoadParamFileIntoDict class."""
49+
4850
def test_valid_input(self) -> None:
4951
# Create a temporary file with valid parameter data
5052
with open("temp.param", "w", encoding="utf-8") as f:
@@ -174,6 +176,8 @@ def tearDown(self) -> None:
174176

175177

176178
class TestExportToParam(unittest.TestCase):
179+
"""Test cases for validating the ExportToParam class."""
180+
177181
def test_valid_input(self) -> None:
178182
# Create a temporary file with valid parameter data
179183
with open("temp.param", "w", encoding="utf-8") as f:
@@ -220,6 +224,8 @@ def tearDown(self) -> None:
220224

221225

222226
class TestUpdatePidAdjustmentParams(unittest.TestCase):
227+
"""Test cases for validating the UpdatePidAdjustmentParams class."""
228+
223229
def setUp(self) -> None:
224230
# Create a directory for the test files
225231
self.test_dir = "test_directory"

0 commit comments

Comments
 (0)