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

Add notification support to backend #883

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

finished adding course watch table

7f02dab
Select commit
Loading
Failed to load commit list.
Open

Add notification support to backend #883

finished adding course watch table
7f02dab
Select commit
Loading
Failed to load commit list.
codefactor.io / CodeFactor failed Apr 17, 2024 in 22s

15 issues fixed. 325 issues found.

Annotations

Check notice on line 83 in rpi_data/modules/fetch_catalog_course_info.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

rpi_data/modules/fetch_catalog_course_info.py#L83

Constant name "explicit_coreqs_before_prereqs_syntax_regex" doesn't conform to UPPER_CASE naming style (invalid-name)

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

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/api/app.py#L323

Undefined variable 'SessionDeletePydantic' (undefined-variable)

Check notice on line 117 in src/api/tests/test_user_course.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/api/tests/test_user_course.py#L117

Variable name "r" doesn't conform to snake_case naming style (invalid-name)

Check notice on line 97 in rpi_data/modules/fetch_catalog_course_info.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

rpi_data/modules/fetch_catalog_course_info.py#L97

Unnecessarily calls dunder method __str__. Use str built-in function. (unnecessary-dunder-call)

Check notice on line 14 in src/api/migrations/versions/2024-04-12_add_course_watch_table.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/api/migrations/versions/2024-04-12_add_course_watch_table.py#L14

Constant name "down_revision" doesn't conform to UPPER_CASE naming style (invalid-name)

Check notice on line 1 in src/api/migrations/versions/2024-04-12_add_course_watch_table.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/api/migrations/versions/2024-04-12_add_course_watch_table.py#L1

Module name "2024-04-12_add_course_watch_table" doesn't conform to snake_case naming style (invalid-name)

Check notice on line 244 in rpi_data/modules/new_parse.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

rpi_data/modules/new_parse.py#L244

TODO: Accomodate for colspans different than 2. (fixme)

Check notice on line 212 in rpi_data/modules/fetch_catalog_course_info.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

rpi_data/modules/fetch_catalog_course_info.py#L212

Anomalous backslash in string: '\d'. String constant might be missing an r prefix. (anomalous-backslash-in-string)

Check notice on line 96 in src/api/tests/test_user.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/api/tests/test_user.py#L96

Variable name "r1" doesn't conform to snake_case naming style (invalid-name)

Check notice on line 157 in src/api/controller/user.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/api/controller/user.py#L157

Variable name "findUser" doesn't conform to snake_case naming style (invalid-name)

Check notice on line 55 in rpi_data/modules/fetch_catalog_course_info.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

rpi_data/modules/fetch_catalog_course_info.py#L55

Trailing whitespace (trailing-whitespace)

Check notice on line 19 in src/api/tests/test_bulk_upload.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/api/tests/test_bulk_upload.py#L19

Variable name "r" doesn't conform to snake_case naming style (invalid-name)

Check notice on line 16 in conftest.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

conftest.py#L16

Unused MockCache imported from tests.mock_cache (unused-import)

Check notice on line 48 in src/api/tests/test_session.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/api/tests/test_session.py#L48

Variable name "r" doesn't conform to snake_case naming style (invalid-name)

Check notice on line 6 in src/api/tests/test_map_date_range.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/api/tests/test_map_date_range.py#L6

Variable name "r" doesn't conform to snake_case naming style (invalid-name)

Check notice on line 27 in src/api/tests/test_user_course.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/api/tests/test_user_course.py#L27

Variable name "r" doesn't conform to snake_case naming style (invalid-name)

Check notice on line 239 in rpi_data/modules/fetch_catalog_course_info.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

rpi_data/modules/fetch_catalog_course_info.py#L239

Line too long (106/100) (line-too-long)

Check notice on line 52 in rpi_data/modules/fetch_catalog_course_info.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

rpi_data/modules/fetch_catalog_course_info.py#L52

Anomalous backslash in string: '\s'. String constant might be missing an r prefix. (anomalous-backslash-in-string)

Check notice on line 59 in rpi_data/modules/fetch_catalog_course_info.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

rpi_data/modules/fetch_catalog_course_info.py#L59

Anomalous backslash in string: '\s'. String constant might be missing an r prefix. (anomalous-backslash-in-string)

Check notice on line 12 in src/api/tests/test_class.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/api/tests/test_class.py#L12

Variable name "r" doesn't conform to snake_case naming style (invalid-name)

Check notice on line 32 in src/api/controller/user.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/api/controller/user.py#L32

Undefined variable 'UpdateUser' (undefined-variable)

Check notice on line 54 in src/api/tests/test_user.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/api/tests/test_user.py#L54

Variable name "r" doesn't conform to snake_case naming style (invalid-name)

Check notice on line 16 in src/api/db/courses.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/api/db/courses.py#L16

Attribute name "db" doesn't conform to snake_case naming style (invalid-name)

Check notice on line 51 in rpi_data/modules/fetch_catalog_course_info.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

rpi_data/modules/fetch_catalog_course_info.py#L51

Anomalous backslash in string: '\?'. String constant might be missing an r prefix. (anomalous-backslash-in-string)

Check notice on line 146 in src/api/tests/test_user.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/api/tests/test_user.py#L146

Variable name "r" doesn't conform to snake_case naming style (invalid-name)