Skip to content

[Refactor:System] Enabled Pylint for workers.py#12890

Merged
williamjallen merged 4 commits into
mainfrom
pylint_changes
Jun 22, 2026
Merged

[Refactor:System] Enabled Pylint for workers.py#12890
williamjallen merged 4 commits into
mainfrom
pylint_changes

Conversation

@elsume

@elsume elsume commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

Why is this Change Important & Necessary?

Working to enable pylint on more files. In the process, workers.py was refactored to have main() split into various functions and some redundant code was removed.

What is the New Behavior?

CI will now check pylint on vagrant-workers/workers.py.

What steps should a reviewer take to reproduce or test the bug or new feature?

Run pylint on vagrant-workers/workers.py.

Automated Testing & Documentation

CI will now be able to test the file.

@codecov

codecov Bot commented Jun 5, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 21.64%. Comparing base (719b0c7) to head (789c056).
⚠️ Report is 23 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff            @@
##               main   #12890   +/-   ##
=========================================
  Coverage     21.64%   21.64%           
  Complexity     9861     9861           
=========================================
  Files           268      268           
  Lines         36920    36920           
  Branches        495      495           
=========================================
  Hits           7990     7990           
  Misses        28439    28439           
  Partials        491      491           
Flag Coverage Δ
autograder 21.32% <ø> (ø)
js 2.01% <ø> (ø)
migrator 100.00% <ø> (ø)
php 20.70% <ø> (ø)
python_submitty_utils 80.08% <ø> (ø)
submitty_daemon_jobs 91.13% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@dagemcn dagemcn left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I tested pylint locally on workers.py and it passed in github. I also verified vagrant workers generate and vagrant workers up still works.

@github-project-automation github-project-automation Bot moved this from Seeking Reviewer to Awaiting Maintainer Review in Submitty Development Jun 11, 2026

@dandrecollins07-ctrl dandrecollins07-ctrl left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Tested locally, works on my end with no errors. Approving.

@williamjallen
williamjallen merged commit 8458ce0 into main Jun 22, 2026
45 of 50 checks passed
@williamjallen
williamjallen deleted the pylint_changes branch June 22, 2026 15:38
@github-project-automation github-project-automation Bot moved this from Awaiting Maintainer Review to Done in Submitty Development Jun 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants