Skip to content

Commit

Permalink
pylint disable must-inherit-from-model-form
Browse files Browse the repository at this point in the history
b/c the way the current form is implemented actually works fine
and b/c the risk of changing it is very high. Also
kiwitcms-github-marketplace depends and overrides this.
  • Loading branch information
atodorov committed Jun 20, 2020
1 parent b9d77dd commit 0625115
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tcms_tenants/forms.py
Expand Up @@ -25,7 +25,7 @@ def _check_domain_name(name):
raise ValidationError(_('Invalid string'))


class NewTenantForm(forms.Form):
class NewTenantForm(forms.Form): # pylint: disable=must-inherit-from-model-form
name = forms.CharField(max_length=100)
schema_name = forms.CharField(max_length=63,
# pylint: disable=protected-access
Expand Down

0 comments on commit 0625115

Please sign in to comment.