From 54eb365ee451fbbeb3b20983dc2490c1a6ce017f Mon Sep 17 00:00:00 2001 From: deadc0de6 Date: Tue, 7 Mar 2023 08:54:22 +0100 Subject: [PATCH] linting --- catcli/noder.py | 2 +- tests.sh | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) 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 \