mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-23 07:33:27 -06:00
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:
parent
fb3eab7ec7
commit
89e16a8053
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user