Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Protect endpoints #891

Open
wants to merge 28 commits into
base: master
Choose a base branch
from

make codefactor happy

e2b251a
Select commit
Loading
Failed to load commit list.
Open

Protect endpoints #891

make codefactor happy
e2b251a
Select commit
Loading
Failed to load commit list.
codefactor.io / CodeFactor failed Nov 1, 2024 in 1s

3 issues fixed. 8 issues found.

Annotations

Check notice on line 23 in src/api/app.py

See this annotation in the file changed.

@codefactor-io 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

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/api/routers/UserRoutes.py#L40

Trailing newlines (trailing-newlines)

Check notice on line 6 in src/api/Dockerfile

See this annotation in the file changed.

@codefactor-io 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

See this annotation in the file changed.

@codefactor-io 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

See this annotation in the file changed.

@codefactor-io 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

See this annotation in the file changed.

@codefactor-io 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

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/api/routers/SemesterRoutes.py#L130

Trailing newlines (trailing-newlines)

Check warning on line 0 in src/api/requirements.txt

See this annotation in the file changed.

@codefactor-io 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)