Showing 519 of 519 total issues
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.
third party import from django.contrib.postgres.fields import JSONField
should be placed before from ckeditor.fields import RichTextField
Open
from django.contrib.postgres.fields import JSONField
- Read upRead up
- Exclude checks
Used when PEP8 import order is not respected (standard imports first, then third-party libraries, then local imports)
Too few public methods (1/2) Open
class AllAttendeeAutocomplete(autocomplete.Select2QuerySetView):
- 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 SetPasswordForm(AllAuthSetPasswordForm):
- Read upRead up
- Exclude checks
Used when class has too few public methods, so be sure it's really worth it.
Access to member 'fields' before its definition line 512 Open
original_fields = self.fields
- Read upRead up
- Exclude checks
Used when an instance member is accessed before it's actually assigned.
third party import from django.core.validators import URLValidator, validate_email
should be placed before from allauth.account.forms import ChangePasswordForm as AllAuthChangePasswordForm
Open
from django.core.validators import URLValidator, validate_email
- Read upRead up
- Exclude checks
Used when PEP8 import order is not respected (standard imports first, then third-party libraries, then local imports)
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 'action' 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 'pk' Open
def has_permission(self, user, action, pk):
- Read upRead up
- Exclude checks
Used when a function or method argument is not used.
Useless super delegation in method 'save' Open
def save(self, *args, **kwargs):
- Read upRead up
- Exclude checks
Used whenever we can detect that an overridden method is useless, relying on super() delegation to do the same thing as another method from the MRO.
Too few public methods (0/2) Open
class Meta:
- 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.utils import timezone
should be placed before from ckeditor.fields import RichTextField
Open
from django.utils import timezone
- 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 LoginForm as AllAuthLoginForm
- 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.
Unable to import 'tempus_dominus.widgets' Open
from tempus_dominus.widgets import DatePicker, TimePicker
- Read upRead up
- Exclude checks
Used when pylint has been unable to import a module.
Too few public methods (1/2) Open
class SoftwareAutocomplete(autocomplete.Select2QuerySetView):
- Read upRead up
- Exclude checks
Used when class has too few public methods, so be sure it's really worth it.
Method could be a function Open
def published(self, for_user=None):
- Read upRead up
- Exclude checks
Used when a method doesn't use its bound instance, and so could be written as a function.
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.
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)
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.