summaryrefslogtreecommitdiff
path: root/.pylintrc
diff options
context:
space:
mode:
authorDaniel Watkins <oddbloke@ubuntu.com>2020-07-15 10:26:12 -0400
committerGitHub <noreply@github.com>2020-07-15 10:26:12 -0400
commit4fe576516d65feda17ba78e9265a8e494a195e7b (patch)
treea4cdbde78f035bfca999c22ce5c1443ecb20c5ae /.pylintrc
parent25289087e44c9c74543248519e37ca1f11b8a711 (diff)
downloadvyos-cloud-init-4fe576516d65feda17ba78e9265a8e494a195e7b.tar.gz
vyos-cloud-init-4fe576516d65feda17ba78e9265a8e494a195e7b.zip
cloudinit: remove global disable of pylint W0107 and fix errors (#489)
* cloudinit: remove global disable of pylint W0107 and fix errors This includes removing a test class which contained no tests but wasn't detected as empty because of an errant pass statement. * .pylintrc: update disable comment to match arguments
Diffstat (limited to '.pylintrc')
-rw-r--r--.pylintrc4
1 files changed, 1 insertions, 3 deletions
diff --git a/.pylintrc b/.pylintrc
index f04603b9..94a81d0e 100644
--- a/.pylintrc
+++ b/.pylintrc
@@ -7,7 +7,6 @@ jobs=4
[MESSAGES CONTROL]
# Errors and warings with some filtered:
-# W0107(unnecessary-pass)
# W0201(attribute-defined-outside-init)
# W0212(protected-access)
# W0221(arguments-differ)
@@ -19,7 +18,6 @@ jobs=4
# W0602(global-variable-not-assigned)
# W0603(global-statement)
# W0611(unused-import)
-# W0612(unused-variable)
# W0613(unused-argument)
# W0621(redefined-outer-name)
# W0622(redefined-builtin)
@@ -27,7 +25,7 @@ jobs=4
# W0703(broad-except)
# W1401(anomalous-backslash-in-string)
-disable=C, F, I, R, W0107, W0201, W0212, W0221, W0222, W0223, W0231, W0311, W0511, W0602, W0603, W0611, W0613, W0621, W0622, W0631, W0703, W1401
+disable=C, F, I, R, W0201, W0212, W0221, W0222, W0223, W0231, W0311, W0511, W0602, W0603, W0611, W0613, W0621, W0622, W0631, W0703, W1401
[REPORTS]