Skip to content

Fix pylint errors and warnings in edited files #60

Fix pylint errors and warnings in edited files

Fix pylint errors and warnings in edited files #60

Triggered via push August 14, 2023 23:22
Status Success
Total duration 2m 33s
Artifacts

pre-commit.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

29 warnings
csm_web/frontend/src/components/CourseMenu.tsx#L55
'show_enrollment_times' is assigned a value but never used (@typescript-eslint/no-unused-vars)
csm_web/frontend/src/components/course/CreateSectionModal.tsx#L2
'dayOfWeekToEnglishString' is defined but never used (@typescript-eslint/no-unused-vars)
csm_web/frontend/src/components/enrollment_automation/EnrollmentAutomationTypes.tsx#L12
Unexpected any. Specify a different type (@typescript-eslint/no-explicit-any)
csm_web/frontend/src/components/enrollment_automation/calendar/Calendar.tsx#L316
'day' is defined but never used (@typescript-eslint/no-unused-vars)
csm_web/frontend/src/components/enrollment_automation/calendar/Calendar.tsx#L316
'interval' is defined but never used (@typescript-eslint/no-unused-vars)
csm_web/frontend/src/components/enrollment_automation/calendar/Calendar.tsx#L335
'e' is defined but never used (@typescript-eslint/no-unused-vars)
csm_web/frontend/src/components/enrollment_automation/calendar/CalendarTypes.tsx#L15
Unexpected any. Specify a different type (@typescript-eslint/no-explicit-any)
csm_web/frontend/src/components/enrollment_automation/calendar/CalendarTypes.tsx#L21
Unexpected any. Specify a different type (@typescript-eslint/no-explicit-any)
csm_web/frontend/src/components/enrollment_automation/coordinator/ConfigureStage.tsx#L54
Unexpected any. Specify a different type (@typescript-eslint/no-explicit-any)
csm_web/frontend/src/components/enrollment_automation/coordinator/ConfigureStage.tsx#L94
'e' is defined but never used (@typescript-eslint/no-unused-vars)
csm_web/frontend/src/components/enrollment_automation/coordinator/CreateStage.tsx#L74
'matcherConfigMutation' is assigned a value but never used (@typescript-eslint/no-unused-vars)
csm_web/frontend/src/components/enrollment_automation/coordinator/CreateStage.tsx#L307
'e' is defined but never used (@typescript-eslint/no-unused-vars)
csm_web/frontend/src/components/enrollment_automation/coordinator/EditStage.tsx#L40
Unexpected any. Specify a different type (@typescript-eslint/no-explicit-any)
csm_web/frontend/src/components/enrollment_automation/coordinator/EditStage.tsx#L40
Unexpected any. Specify a different type (@typescript-eslint/no-explicit-any)
csm_web/frontend/src/components/enrollment_automation/coordinator/EditStage.tsx#L297
Unexpected any. Specify a different type (@typescript-eslint/no-explicit-any)
csm_web/frontend/src/components/enrollment_automation/coordinator/EditStage.tsx#L624
Unexpected any. Specify a different type (@typescript-eslint/no-explicit-any)
csm_web/frontend/src/components/section/CoordinatorAddStudentModal.tsx#L39
Unexpected any. Specify a different type (@typescript-eslint/no-explicit-any)
csm_web/frontend/src/components/section/StudentSection.tsx#L77
'override' is defined but never used (@typescript-eslint/no-unused-vars)
csm_web/frontend/src/tests/section/StudentDropper.test.tsx#L65
Unexpected any. Specify a different type (@typescript-eslint/no-explicit-any)
csm_web/frontend/src/tests/section/StudentDropper.test.tsx#L72
Unexpected any. Specify a different type (@typescript-eslint/no-explicit-any)
csm_web/frontend/src/tests/section/StudentDropper.test.tsx#L122
Unexpected any. Specify a different type (@typescript-eslint/no-explicit-any)
csm_web/frontend/src/tests/section/StudentDropper.test.tsx#L129
Unexpected any. Specify a different type (@typescript-eslint/no-explicit-any)
csm_web/frontend/src/utils/api.tsx#L24
Unexpected any. Specify a different type (@typescript-eslint/no-explicit-any)
csm_web/frontend/src/utils/queries/helpers.tsx#L49
Unexpected any. Specify a different type (@typescript-eslint/no-explicit-any)
csm_web/frontend/src/utils/queries/helpers.tsx#L49
Unexpected any. Specify a different type (@typescript-eslint/no-explicit-any)
csm_web/frontend/src/utils/queries/helpers.tsx#L49
Unexpected any. Specify a different type (@typescript-eslint/no-explicit-any)
csm_web/frontend/src/utils/queries/matcher.tsx#L6
'QueryClient' is defined but never used (@typescript-eslint/no-unused-vars)
csm_web/frontend/src/utils/queries/matcher.tsx#L13
'Slot' is defined but never used (@typescript-eslint/no-unused-vars)
csm_web/frontend/src/utils/queries/sections.tsx#L403
Unexpected any. Specify a different type (@typescript-eslint/no-explicit-any)