Showing 519 of 519 total issues
third party import from django.db import models
should be placed before from ckeditor.fields import RichTextField
Open
from django.db import models
- 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.urls import reverse
should be placed before from ckeditor.fields import RichTextField
Open
from django.urls import reverse
- 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.formats import date_format
should be placed before from ckeditor.fields import RichTextField
Open
from django.utils.formats import date_format
- 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 SetPasswordForm as AllAuthSetPasswordForm
- Read upRead up
- Exclude checks
Used when pylint has been unable to import a module.
third party import from django.db.models.query_utils import Q
should be placed before from allauth.account.forms import ChangePasswordForm as AllAuthChangePasswordForm
Open
from django.db.models.query_utils import Q
- 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.formats import date_format
should be placed before from allauth.account.forms import ChangePasswordForm as AllAuthChangePasswordForm
Open
from django.utils.formats import date_format
- Read upRead up
- Exclude checks
Used when PEP8 import order is not respected (standard imports first, then third-party libraries, then local imports)
Unused argument 'pk' 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 '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.
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)
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.
Unable to import 'image_cropping' Open
from image_cropping import ImageCropField, ImageRatioField
- Read upRead up
- Exclude checks
Used when pylint has been unable to import a module.
Unable to import 'allauth.socialaccount.forms' Open
from allauth.socialaccount.forms import SignupForm as AllAuthSocialSignUpForm
- Read upRead up
- Exclude checks
Used when pylint has been unable to import a module.
Unable to import 'image_cropping' Open
from image_cropping import ImageCropWidget
- 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
for field in self.fields.keys():
- Read upRead up
- Exclude checks
Used when an instance member is accessed before it's actually assigned.
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.
Unused argument 'pk' Open
def has_permission(self, user, action, pk):
- Read upRead up
- Exclude checks
Used when a function or method argument is not used.
third party import from django.contrib.auth.models import User
should be placed before from ckeditor.fields import RichTextField
Open
from django.contrib.auth.models import User
- 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 \
- Read upRead up
- Exclude checks
Used when pylint has been unable to import a module.