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

style(all): fixing pipelines #1163

Merged
merged 46 commits into from
Jul 26, 2024
Merged

Conversation

ollibowers
Copy link
Collaborator

@ollibowers ollibowers commented Jul 12, 2024

  • created 7 new jobs out of the previous 2.
    • seperate lint, typecheck and test jobs for backend and frontend
    • one docker build and start prod job that runs if all others pass
    • (currently test jobs are disabled as these fixes will come separately)
  • fixed pylint errors
    • for some, i added explicit ignores as i felt they were appropriately broken
    • for some, i added explicit ignores with todos, as i do not want to refactor completely until we get tests
    • removed some redundant or poorly placed pylint disables
    • intentionally left docstring disables in there as we will fix these in a future PR
    • similarly, intentionally left circular import ignores as i will fix this next in a utility refactor + user dict removal PR
    • reworked the opening to run_app.py, so its less annoying
  • fixed eslint disables
    • removed a bunch of bad eslint disables, only leaving the necessary ones in
    • disabled no-console and allowed non-default exports for the api directory
    • refactored term planner decently, as the eslint-disable removal required it. this was a much needed refactor and is one step further to getting TermPlanner.tsx readable.
    • moved some axios requests into the api folder, so i could remove some other eslint-disables
      • all will be moved in a upcoming PR (currently assigned to a subbie)
    • reworked graphical selector slightly to rely more on the unlocked courses route, as previously it was trying to use a .unlocked property on the user courses response (which didn't exist). now we have colors again!!!
  • verified that there are no mypy type: ignores that we do not want (or that wont get culled by something else very soon)
  • verified that there are no tsc @ts-nochecks that we do not want
  • update team.md

@ollibowers ollibowers requested review from a team as code owners July 12, 2024 11:45
Copy link

github-actions bot commented Jul 12, 2024

Test Results

0 tests   - 156   0 ✅  - 80   0s ⏱️ -39s
0 suites  -  13   0 💤  -  2 
0 files    -   2   0 ❌  - 74 

Results for commit a4ead88. ± Comparison against base commit f142dab.

♻️ This comment has been updated with latest results.

@ollibowers ollibowers changed the base branch from dev to 331-staging July 12, 2024 12:07
@ollibowers ollibowers changed the title [DRAFT-BECAUSE-I-WANT-CI] style(all): fixing pylint and eslint style(all): fixing pylint and eslint Jul 12, 2024
@ollibowers ollibowers marked this pull request as draft July 12, 2024 12:30
@ollibowers ollibowers force-pushed the style/all/fix-pylint-and-eslint branch from 88a1e80 to ce6cedd Compare July 18, 2024 15:04
@ollibowers ollibowers changed the title style(all): fixing pylint and eslint style(all): fixing pipelines Jul 20, 2024
@ollibowers ollibowers marked this pull request as ready for review July 23, 2024 12:46
Copy link
Contributor

@sachk sachk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not super thorough but lgtm, if you want more feedback u can ask jared since he's more experienced with gh actions.

Copy link
Contributor

@martanman martanman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@ollibowers ollibowers merged commit abf05fd into 331-staging Jul 26, 2024
8 checks passed
@ollibowers ollibowers deleted the style/all/fix-pylint-and-eslint branch July 26, 2024 08:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants