diff --git a/pylintrc b/pylintrc new file mode 100644 index 0000000..b9da209 --- /dev/null +++ b/pylintrc @@ -0,0 +1,2 @@ +[BASIC] +good-names=otherItem, storageMedium diff --git a/tests/test_didl_lite.py b/tests/test_didl_lite.py index 2250f9f..dbbf1b5 100644 --- a/tests/test_didl_lite.py +++ b/tests/test_didl_lite.py @@ -642,7 +642,7 @@ def test_property_case(self) -> None: assert not hasattr(item, "otherItem") assert not hasattr(item, "other_item") - item.storageMedium = "CD" # pylint: disable=invalid-name + item.storageMedium = "CD" assert item.storage_medium is item.storageMedium assert item.storage_medium == "CD" @@ -650,7 +650,7 @@ def test_property_case(self) -> None: assert item.long_description is item.longDescription assert item.long_description == "Long description" - item.otherItem = "otherItem" # pylint: disable=invalid-name + item.otherItem = "otherItem" assert hasattr(item, "otherItem") assert not hasattr(item, "other_item") assert item.otherItem == "otherItem"