summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2014-01-24 15:28:06 -0500
committerScott Moser <smoser@ubuntu.com>2014-01-24 15:28:06 -0500
commit6d474342163b05a29c198964ececd57db8658365 (patch)
tree52ab36fc84ecf186f7392eccc6952b35c0cf74d9
parentc92cd051a1d598f83de03c4135c800b17fd46a9a (diff)
downloadvyos-cloud-init-6d474342163b05a29c198964ececd57db8658365.tar.gz
vyos-cloud-init-6d474342163b05a29c198964ececd57db8658365.zip
add --dummy-variables-rgx= param when calling pylint
new pylint in trusty complains about '_' variables if we don't do this. This seems to be ok in older versions of pylint also.
-rwxr-xr-xtools/run-pylint1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/run-pylint b/tools/run-pylint
index 0b7c16d4..0fe0c64a 100755
--- a/tools/run-pylint
+++ b/tools/run-pylint
@@ -16,6 +16,7 @@ cmd=(
--rcfile=$RC_FILE
--disable=R
--disable=I
+ --dummy-variables-rgx="_"
"${files[@]}"
)