diff --git a/catcli/noder.py b/catcli/noder.py index 5acf7f6..b420c35 100644 --- a/catcli/noder.py +++ b/catcli/noder.py @@ -62,7 +62,7 @@ class Noder: newpath: str = '') -> Node: """ return the storage node if any - if path is submitted, it will update the media info + if newpath is submitted, it will update the media info """ found = None for node in top.children: diff --git a/tests.sh b/tests.sh index 4e81638..2c5e08a 100755 --- a/tests.sh +++ b/tests.sh @@ -23,6 +23,7 @@ pyflakes tests/ # R0903: Too few public methods # R0801: Similar lines in 2 files # R0902: Too many instance attributes +# R0201: no-self-used pylint --version pylint \ --disable=R0914 \ @@ -33,6 +34,8 @@ pylint \ --disable=R0903 \ --disable=R0801 \ --disable=R0902 \ + --disable=R0201 \ + --disable=R0022 \ catcli/ pylint \ --disable=W0212 \