Skip to content

Commit

Permalink
pylint compliance
Browse files Browse the repository at this point in the history
  • Loading branch information
bwallrich committed Feb 10, 2024
1 parent 2c7127f commit 217191b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion stricto/generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ def set(self, value):
"""
Fill with a value or raise an Error if not valid
"""

if self.exists() is False:
raise Error(ErrorType.NOTALIST, "locked", self.path_name())

Expand Down
2 changes: 1 addition & 1 deletion tests/test_dict.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from stricto import String, Int, Dict, List, Bool, Error


class TestDict(unittest.TestCase):
class TestDict(unittest.TestCase): # pylint: disable=too-many-public-methods
"""
test for Dict()
"""
Expand Down
2 changes: 1 addition & 1 deletion tests/test_int.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def check_pair(value, o): # pylint: disable=unused-argument
return not value % 2


class TestInt(unittest.TestCase):
class TestInt(unittest.TestCase): # pylint: disable=too-many-public-methods
"""
Test on Int
"""
Expand Down
2 changes: 1 addition & 1 deletion tests/test_string.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from stricto import String, Error


class TestString(unittest.TestCase):
class TestString(unittest.TestCase): # pylint: disable=too-many-public-methods
"""
Test on Strings
"""
Expand Down

0 comments on commit 217191b

Please sign in to comment.