eventoL/eventoL

View on GitHub

Showing 519 of 519 total issues

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.

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
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)

Too few public methods (1/2)
Open

class AllAttendeeAutocomplete(autocomplete.Select2QuerySetView):
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 SetPasswordForm(AllAuthSetPasswordForm):
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.

Access to member 'fields' before its definition line 512
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.

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
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)

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 '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.

Unused argument 'pk'
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.

Useless super delegation in method 'save'
Open

    def save(self, *args, **kwargs):
Severity: Minor
Found in eventol/manager/models.py by pylint

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

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
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 LoginForm as AllAuthLoginForm
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.

Unable to import 'tempus_dominus.widgets'
Open

from tempus_dominus.widgets import DatePicker, TimePicker
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 SoftwareAutocomplete(autocomplete.Select2QuerySetView):
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.

Method could be a function
Open

    def published(self, for_user=None):
Severity: Info
Found in eventol/manager/models.py by pylint

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

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
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)

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.

Severity
Category
Status
Source
Language