django/django

View on GitHub
django/db/models/functions/text.py

Summary

Maintainability
A
3 hrs
Test Coverage

File text.py has 281 lines of code (exceeds 250 allowed). Consider refactoring.
Open

from django.db import NotSupportedError
from django.db.models.expressions import Func, Value
from django.db.models.fields import CharField, IntegerField, TextField
from django.db.models.functions import Cast, Coalesce
from django.db.models.lookups import Transform
Severity: Minor
Found in django/db/models/functions/text.py - About 2 hrs to fix

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

        def __init__(self, expression, pos, length=None, **extra):
    Severity: Minor
    Found in django/db/models/functions/text.py - About 35 mins to fix

      There are no issues that match your filters.

      Category
      Status