svthalia/concrexit

View on GitHub

Showing 227 of 702 total issues

Avoid too many return statements within this function.
Open

                return redirect("pizzas:index")
Severity: Major
Found in website/pizzas/views.py - About 30 mins to fix

Avoid too many return statements within this function.
Open

            return status.STATUS_WAITINGLIST
Severity: Major
Found in website/events/services.py - About 30 mins to fix

Avoid too many return statements within this function.
Open

        return status.STATUS_EXPIRED
Severity: Major
Found in website/events/services.py - About 30 mins to fix

Avoid too many return statements within this function.
Open

        return False
Severity: Major
Found in website/events/services.py - About 30 mins to fix

Avoid too many return statements within this function.
Open

            return status.STATUS_CANCELLED_FINAL
Severity: Major
Found in website/events/services.py - About 30 mins to fix

Avoid too many return statements within this function.
Open

            return status.STATUS_OPTIONAL_REGISTERED
Severity: Major
Found in website/events/services.py - About 30 mins to fix

Avoid too many return statements within this function.
Open

        return status.STATUS_FULL
Severity: Major
Found in website/events/services.py - About 30 mins to fix

Avoid too many return statements within this function.
Open

        return status.STATUS_REGISTERED
Severity: Major
Found in website/events/services.py - About 30 mins to fix

Avoid too many return statements within this function.
Open

        return status.STATUS_OPTIONAL
Severity: Major
Found in website/events/services.py - About 30 mins to fix

Avoid too many return statements within this function.
Open

                return status.STATUS_CANCELLED
Severity: Major
Found in website/events/services.py - About 30 mins to fix

Avoid too many return statements within this function.
Open

        return status.STATUS_WILL_OPEN
Severity: Major
Found in website/events/services.py - About 30 mins to fix

Avoid too many return statements within this function.
Open

    return redirect("pizzas:index")
Severity: Major
Found in website/pizzas/views.py - About 30 mins to fix

Avoid too many return statements within this function.
Open

        return False
Severity: Major
Found in website/events/services.py - About 30 mins to fix

Avoid too many return statements within this function.
Open

            return redirect("index")
Severity: Major
Found in website/sales/views.py - About 30 mins to fix

Avoid too many return statements within this function.
Open

            return development
Severity: Major
Found in website/thaliawebsite/settings.py - About 30 mins to fix

Avoid too many return statements within this function.
Open

            return testing
Severity: Major
Found in website/thaliawebsite/settings.py - About 30 mins to fix

Avoid too many return statements within this function.
Open

            return f"'{self.nickname}' {self.user.last_name}"
Severity: Major
Found in website/members/models/profile.py - About 30 mins to fix

Avoid too many return statements within this function.
Open

        return render(request, "sales/order_payment.html", {"order": order})
Severity: Major
Found in website/sales/views.py - About 30 mins to fix

Avoid too many return statements within this function.
Open

        return Response(status=status.HTTP_200_OK)
Severity: Major
Found in website/facedetection/api/facedetection/views.py - About 30 mins to fix

Avoid too many return statements within this function.
Open

        return None
Severity: Major
Found in website/payments/views.py - About 30 mins to fix
Severity
Category
Status
Source
Language