Enable Signature Differs Warning in pylint
Pylint currently ignores any signature differs (W0222) warnings Enable it for more thorough testing of code Change-Id: Iddb8734eb70e9e099d50ba0e458190053a8cd51b Signed-off-by: Eric Barrett <eric.barrett@windriver.com>
This commit is contained in:
parent
3858e68b1f
commit
827e89c04a
@ -29,7 +29,6 @@ load-plugins=
|
||||
# W0201 attribute-defined-outside-init
|
||||
# W0212 protected-access var starting with _ used outside class or descendant
|
||||
# W0221 arguments-differ
|
||||
# W0222 signature-differs
|
||||
# W0235 useless-super-delegation
|
||||
# W0403 relative-import warning
|
||||
# W0511 fixme
|
||||
@ -37,8 +36,8 @@ load-plugins=
|
||||
# W0703 broad except warning
|
||||
# E0202 method-hidden
|
||||
# E0203 access-member-before-definition
|
||||
# E1101 no-member
|
||||
disable=C, R, W0201, W0212, W0221, W0222, W0235, W0403, W0511, W0613, W0703,
|
||||
# E1101 no-member
|
||||
disable=C, R, W0201, W0212, W0221, W0235, W0403, W0511, W0613, W0703,
|
||||
E0202, E0203, E1101
|
||||
|
||||
|
||||
|
@ -23,7 +23,7 @@ class EditView(forms.ModalFormView):
|
||||
template_name = 'admin/inventory/storages/lvg/edit.html'
|
||||
success_url = 'horizon:admin:inventory:localvolumegroupdetail'
|
||||
|
||||
def get_form(self, form_class):
|
||||
def get_form(self, form_class=None):
|
||||
self.form = super(EditView, self).get_form(form_class)
|
||||
return self.form
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user