Showing 519 of 519 total issues
Try, Except, Pass detected. Open
except:
- Exclude checks
third party import from django.contrib.auth.models import Permission, User
should be placed before import pyqrcode
Open
from django.contrib.auth.models import Permission, User
- Read upRead up
- Exclude checks
Used when PEP8 import order is not respected (standard imports first, then third-party libraries, then local imports)
Redefining name 'event1' from outer scope (line 57) Open
def event_user1(user1, event1):
- Read upRead up
- Exclude checks
Used when a variable's name hides a name defined in the outer scope.
Redefining name 'event1' from outer scope (line 57) Open
def activity1(event1):
- Read upRead up
- Exclude checks
Used when a variable's name hides a name defined in the outer scope.
Redefining name 'event2' from outer scope (line 66) Open
def activity2(event2):
- Read upRead up
- Exclude checks
Used when a variable's name hides a name defined in the outer scope.
Redefining name 'event_tag_1' from outer scope (line 38) Open
event_tag_1, event1, user1,
- Read upRead up
- Exclude checks
Used when a variable's name hides a name defined in the outer scope.
Redefining name 'event_user1' from outer scope (line 99) Open
event_user1, attendee_without_user1,
- Read upRead up
- Exclude checks
Used when a variable's name hides a name defined in the outer scope.
Redefining name 'installer1' from outer scope (line 180) Open
collaborator1, installer1, reviewer1,
- Read upRead up
- Exclude checks
Used when a variable's name hides a name defined in the outer scope.
Redefining name 'event_user2' from outer scope (line 107) Open
event_user2, attendee_without_user2,
- Read upRead up
- Exclude checks
Used when a variable's name hides a name defined in the outer scope.
Redefining name 'installation2' from outer scope (line 241) Open
activity2, room2, installation2):
- Read upRead up
- Exclude checks
Used when a variable's name hides a name defined in the outer scope.
Unused argument 'instance' Open
def group_names(cls, instance):
- Read upRead up
- Exclude checks
Used when a function or method argument is not used.
Unused argument 'instance' Open
def group_names(cls, instance):
- Read upRead up
- Exclude checks
Used when a function or method argument is not used.
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.
third party import from django.utils.safestring import mark_safe
should be placed before from allauth.account.forms import ChangePasswordForm as AllAuthChangePasswordForm
Open
from django.utils.safestring import mark_safe
- 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 (0/2) Open
class ResetPasswordKeyForm(AllAuthResetPasswordKeyForm):
- 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.forms import Form
should be placed before from allauth.account.forms import ChangePasswordForm as AllAuthChangePasswordForm
Open
from django.forms import Form
- 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.
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 import messages
should be placed before from ckeditor.fields import RichTextField
Open
from django.contrib import messages
- Read upRead up
- Exclude checks
Used when PEP8 import order is not respected (standard imports first, then third-party libraries, then local imports)