summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Clay <matt@mystile.com>2020-01-10 10:04:01 -0800
committerMatt Clay <matt@mystile.com>2020-01-10 10:45:04 -0800
commit096a68198225da16df57e4d137198e36153f4afc (patch)
tree4a1c1b372e68e9e42e07a8b6ae1698b502a0858e
parent6a86650109b8654f5898369e45d3857624edf907 (diff)
downloadansible-096a68198225da16df57e4d137198e36153f4afc.tar.gz
Ignore false positive in sanity test.
-rwxr-xr-xtest/sanity/code-smell/no-underscore-variable.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/sanity/code-smell/no-underscore-variable.py b/test/sanity/code-smell/no-underscore-variable.py
index bba6173f7e..2bdd94aa76 100755
--- a/test/sanity/code-smell/no-underscore-variable.py
+++ b/test/sanity/code-smell/no-underscore-variable.py
@@ -121,6 +121,8 @@ def main():
'test/units/modules/cloud/amazon/test_ec2_vpc_nat_gateway.py',
'test/units/modules/cloud/amazon/test_ec2_vpc_vpn.py',
'test/units/modules/system/interfaces_file/test_interfaces_file.py',
+ # These files contain false positives.
+ 'lib/ansible/modules/system/solaris_zone.py',
])
for path in sys.argv[1:] or sys.stdin.read().splitlines():