Showing 519 of 519 total issues
third party import from django.utils.translation import ugettext_lazy as _, ugettext_noop as _noop
should be placed before from ckeditor.fields import RichTextField
Open
from django.utils.translation import ugettext_lazy as _, ugettext_noop as _noop
- Read upRead up
- Exclude checks
Used when PEP8 import order is not respected (standard imports first, then third-party libraries, then local imports)
Unable to import 'allauth.account.forms' Open
from allauth.account.forms import SignupForm as AllAuthSignUpForm
- Read upRead up
- Exclude checks
Used when pylint has been unable to import a module.
Access to member 'fields' before its definition line 452 Open
original_fields = self.fields
- Read upRead up
- Exclude checks
Used when an instance member is accessed before it's actually assigned.
Method could be a function Open
def has_permission(self, user, action, pk):
- Read upRead up
- Exclude checks
Used when a method doesn't use its bound instance, and so could be written as a function.
Unused argument 'user' Open
def has_permission(self, user, action, pk):
- Read upRead up
- Exclude checks
Used when a function or method argument is not used.
Unused argument 'action' Open
def has_permission(self, user, action, pk):
- Read upRead up
- Exclude checks
Used when a function or method argument is not used.
Access to member 'fields' before its definition line 512 Open
for field in self.fields.keys():
- Read upRead up
- Exclude checks
Used when an instance member is accessed before it's actually assigned.
Method could be a function Open
def has_permission(self, user, action, pk):
- Read upRead up
- Exclude checks
Used when a method doesn't use its bound instance, and so could be written as a function.
Method could be a function Open
def has_permission(self, user, action, pk):
- Read upRead up
- Exclude checks
Used when a method doesn't use its bound instance, and so could be written as a function.
Unused argument 'for_user' Open
def published(self, for_user=None):
- Read upRead up
- Exclude checks
Used when a function or method argument is not used.
No exception type(s) specified Open
except:
- Read upRead up
- Exclude checks
Used when an except clause doesn't specify exceptions type to catch.
Unable to import 'allauth.account.forms' Open
from allauth.account.forms import ResetPasswordForm as AllAuthResetPasswordForm
- Read upRead up
- Exclude checks
Used when pylint has been unable to import a module.
Too few public methods (1/2) Open
class SignUpForm(AllAuthSignUpForm):
- Read upRead up
- Exclude checks
Used when class has too few public methods, so be sure it's really worth it.
Too few public methods (0/2) Open
class ResetPasswordForm(AllAuthResetPasswordForm):
- Read upRead up
- Exclude checks
Used when class has too few public methods, so be sure it's really worth it.
Too few public methods (0/2) Open
class ChangePasswordForm(AllAuthChangePasswordForm):
- Read upRead up
- Exclude checks
Used when class has too few public methods, so be sure it's really worth it.
Too few public methods (1/2) Open
class SocialSignUpForm(AllAuthSocialSignUpForm):
- Read upRead up
- Exclude checks
Used when class has too few public methods, so be sure it's really worth it.
third party import from django.core.exceptions import ValidationError
should be placed before from allauth.account.forms import ChangePasswordForm as AllAuthChangePasswordForm
Open
from django.core.exceptions import ValidationError
- Read upRead up
- Exclude checks
Used when PEP8 import order is not respected (standard imports first, then third-party libraries, then local imports)
third party import from django.forms.models import BaseModelFormSet, ModelForm
should be placed before from allauth.account.forms import ChangePasswordForm as AllAuthChangePasswordForm
Open
from django.forms.models import BaseModelFormSet, ModelForm
- Read upRead up
- Exclude checks
Used when PEP8 import order is not respected (standard imports first, then third-party libraries, then local imports)
third party import from django.utils.translation import ugettext as _
should be placed before from allauth.account.forms import ChangePasswordForm as AllAuthChangePasswordForm
Open
from django.utils.translation import ugettext as _
- Read upRead up
- Exclude checks
Used when PEP8 import order is not respected (standard imports first, then third-party libraries, then local imports)
Access to member 'fields' before its definition line 452 Open
del self.fields[field].widget.attrs['placeholder']
- Read upRead up
- Exclude checks
Used when an instance member is accessed before it's actually assigned.