eventoL/eventoL

View on GitHub

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
Severity: Info
Found in eventol/manager/models.py by pylint

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
Severity: Critical
Found in eventol/manager/forms.py by pylint

Used when pylint has been unable to import a module.

Access to member 'fields' before its definition line 452
Open

        original_fields = self.fields
Severity: Critical
Found in eventol/manager/forms.py by pylint

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):
Severity: Info
Found in eventol/manager/binding.py by pylint

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):
Severity: Minor
Found in eventol/manager/binding.py by pylint

Used when a function or method argument is not used.

Unused argument 'action'
Open

    def has_permission(self, user, action, pk):
Severity: Minor
Found in eventol/manager/binding.py by pylint

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():
Severity: Critical
Found in eventol/manager/forms.py by pylint

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):
Severity: Info
Found in eventol/manager/binding.py by pylint

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):
Severity: Info
Found in eventol/manager/binding.py by pylint

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):
Severity: Minor
Found in eventol/manager/models.py by pylint

Used when a function or method argument is not used.

No exception type(s) specified
Open

        except:
Severity: Minor
Found in eventol/manager/models.py by pylint

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
Severity: Critical
Found in eventol/manager/forms.py by pylint

Used when pylint has been unable to import a module.

Too few public methods (1/2)
Open

class SignUpForm(AllAuthSignUpForm):
Severity: Info
Found in eventol/manager/forms.py by pylint

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):
Severity: Info
Found in eventol/manager/forms.py by pylint

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):
Severity: Info
Found in eventol/manager/forms.py by pylint

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):
Severity: Info
Found in eventol/manager/forms.py by pylint

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
Severity: Info
Found in eventol/manager/forms.py by pylint

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
Severity: Info
Found in eventol/manager/forms.py by pylint

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 _
Severity: Info
Found in eventol/manager/forms.py by pylint

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']
Severity: Critical
Found in eventol/manager/forms.py by pylint

Used when an instance member is accessed before it's actually assigned.

Severity
Category
Status
Source
Language