SpartaHack/SpartaHack-API

View on GitHub

Showing 160 of 183 total issues

Avoid too many return statements within this function.
Open

                    return (ret,200,headers)
Severity: Major
Found in resources/hardware.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/applications.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 (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

Avoid too many return statements within this function.
Open

                    return (not_found,404,headers)
Severity: Major
Found in resources/hardware.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/sponsors.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 (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 (not_found, 404, 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/announcements.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 (Announcement_Schema().dump(ret).data, 201, headers)
Severity: Major
Found in resources/announcements.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/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/faqs.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/hardware.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/applications.py - About 30 mins to fix

Avoid too many return statements within this function.
Open

            return (bad_request,400,headers)
Severity: Major
Found in resources/sponsors.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/checkin.py - About 30 mins to fix
Severity
Category
Status
Source
Language