WeblateOrg / weblate

Function with cyclomatic complexity higher than threshold PY-R1000
Anti-pattern
Minor
1 occurrence in this check
PluralTextarea.render has a cyclomatic complexity of 17 with "high" risk
 270
 271        return result
 272
 273    def render(self, name, value, attrs=None, renderer=None, **kwargs): 274        """Render all textareas with correct plural labels."""
 275        unit = value
 276        translation = unit.translation