SpartaHack/SpartaHack-API

View on GitHub

Showing 183 of 183 total issues

Avoid too many return statements within this function.
Open

                return (conflict, 409, headers)
Severity: Major
Found in resources/faqs.py - About 30 mins to fix

Avoid too many return statements within this function.
Open

            return (internal_server_error, 500, headers)
Severity: Major
Found in resources/rsvps.py - About 30 mins to fix

Avoid too many return statements within this function.
Open

            return (ret, 201, headers)
Severity: Major
Found in resources/applications.py - About 30 mins to fix

Avoid too many return statements within this function.
Open

                return (conflict,409,headers)
Severity: Major
Found in resources/schedule.py - About 30 mins to fix

Avoid too many return statements within this function.
Open

            return (internal_server_error,500,headers)
Severity: Major
Found in resources/schedule.py - About 30 mins to fix

Avoid too many return statements within this function.
Open

                return(forbidden, 403, headers)
Severity: Major
Found in resources/users.py - About 30 mins to fix

Avoid too many return statements within this function.
Open

            return (internal_server_error, 500, headers)
Severity: Major
Found in resources/users.py - About 30 mins to fix

Avoid too many return statements within this function.
Open

            return (forbidden, 403, headers)
Severity: Major
Found in resources/announcements.py - About 30 mins to fix

Avoid too many return statements within this function.
Open

            return (not_found, 404, headers)
Severity: Major
Found in resources/rsvps.py - About 30 mins to fix

Avoid too many return statements within this function.
Open

            return (forbidden,403,headers)
Severity: Major
Found in resources/hardware.py - About 30 mins to fix

Avoid too many return statements within this function.
Open

            return(forbidden, 403, headers)
Severity: Major
Found in resources/users.py - About 30 mins to fix

Avoid too many return statements within this function.
Open

                return (User_Schema().dump(user), 200, headers)
Severity: Major
Found in resources/users.py - About 30 mins to fix

Avoid too many return statements within this function.
Open

                return (forbidden, 403, headers)
Severity: Major
Found in resources/users.py - About 30 mins to fix

Avoid too many return statements within this function.
Open

                return (Faq_Schema().dump(new_faq), 201, headers)
Severity: Major
Found in resources/faqs.py - About 30 mins to fix

Avoid too many return statements within this function.
Open

                    return (forbidden, 403, headers)
Severity: Major
Found in resources/rsvps.py - About 30 mins to fix

Avoid too many return statements within this function.
Open

            return (ret, 201, headers)
Severity: Major
Found in resources/rsvps.py - About 30 mins to fix

Avoid too many return statements within this function.
Open

            return (not_found, 404, headers)
Severity: Major
Found in resources/applications.py - About 30 mins to fix

Avoid too many return statements within this function.
Open

            return (forbidden,403,headers)
Severity: Major
Found in resources/schedule.py - About 30 mins to fix

Avoid too many return statements within this function.
Open

            return (internal_server_error,500,headers)
Severity: Major
Found in resources/checkin.py - About 30 mins to fix

Avoid too many return statements within this function.
Open

            return (internal_server_error, 500, headers)
Severity: Major
Found in resources/users.py - About 30 mins to fix
Severity
Category
Status
Source
Language