Protect endpoints #891
Protect endpoints #891
3 issues fixed. 8 issues found.
Annotations
Check notice on line 23 in src/api/app.py
codefactor-io / CodeFactor
src/api/app.py#L23
String statement has no effect (pointless-string-statement)
Check notice on line 40 in src/api/routers/UserRoutes.py
codefactor-io / CodeFactor
src/api/routers/UserRoutes.py#L40
Trailing newlines (trailing-newlines)
Check notice on line 6 in src/api/Dockerfile
codefactor-io / CodeFactor
src/api/Dockerfile#L6
Delete the apt-get lists after installing something. (DL3009)
Check notice on line 96 in src/api/app.py
codefactor-io / CodeFactor
src/api/app.py#L96
Unnecessary "else" after "return", remove the "else" and de-indent the code inside it (no-else-return)
Check notice on line 18 in src/api/db/professor.py
codefactor-io / CodeFactor
src/api/db/professor.py#L18
Unnecessary "else" after "return", remove the "else" and de-indent the code inside it (no-else-return)
Check warning on line 0 in src/api/requirements.txt
codefactor-io / CodeFactor
src/api/requirements.txt#L0
Use of vulnerable gunicorn (CVE-2024-1135) [update to 22.0.0] (CVE-2024-1135-gunicorn)
Check notice on line 130 in src/api/routers/SemesterRoutes.py
codefactor-io / CodeFactor
src/api/routers/SemesterRoutes.py#L130
Trailing newlines (trailing-newlines)
Check warning on line 0 in src/api/requirements.txt
codefactor-io / CodeFactor
src/api/requirements.txt#L0
Use of vulnerable python-multipart (CVE-2024-24762) [update to 0.0.7] (CVE-2024-24762-python-multipart)