Enable pylint duplicated-key check
Enables check and fixes: ipatests/test_xmlrpc/test_permission_plugin.py:65: [W0109(duplicate-key), ] Duplicate key 'ipapermlocation' in dictionary) Reviewed-By: Jan Cholasta <jcholast@redhat.com>
This commit is contained in:
1 parent
fb3eab7ec7
commit
89e16a8053
2 files changed
-2
No files matched your search
@@ -85,7 +85,6 @@ permission3_attributelevelrights = {
|
||||
'ipapermtargetto': u'rscwo',
|
||||
'ipapermtargetfrom': u'rscwo',
|
||||
'ipapermbindruletype': u'rscwo',
|
||||
'ipapermlocation': u'rscwo',
|
||||
'ipapermtarget': u'rscwo',
|
||||
'type': u'rscwo',
|
||||
'targetgroup': u'rscwo',
|
||||
|
||||
@@ -256,7 +256,6 @@ def main():
|
||||
linter.set_option('disable', 'bare-except')
|
||||
linter.set_option('disable', 'broad-except')
|
||||
linter.set_option('disable', 'dangerous-default-value')
|
||||
linter.set_option('disable', 'duplicate-key')
|
||||
linter.set_option('disable', 'eval-used')
|
||||
linter.set_option('disable', 'exec-used')
|
||||
linter.set_option('disable', 'expression-not-assigned')
|
||||
|
||||
Reference in new issue
Block a user