masschallenge/django-accelerator

View on GitHub
simpleuser/models.py

Summary

Maintainability
A
3 hrs
Test Coverage
A
100%

User has 28 functions (exceeds 20 allowed). Consider refactoring.
Open

class User(AbstractUser):
    # Override the parent email field to add uniqueness constraint
    email = models.EmailField(blank=True, unique=True)

    objects = UserManager()
Severity: Minor
Found in simpleuser/models.py - About 3 hrs to fix

    Function _create_user has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        def _create_user(self, email, password,
    Severity: Minor
    Found in simpleuser/models.py - About 35 mins to fix

      There are no issues that match your filters.

      Category
      Status