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

Allow --diff to be used with --jobs #2302

Merged
merged 3 commits into from
Jan 21, 2025
Merged

Allow --diff to be used with --jobs #2302

merged 3 commits into from
Jan 21, 2025

Conversation

mnakama
Copy link
Contributor

@mnakama mnakama commented Oct 24, 2024

Fix the bug reported in #2216 where --diff is ignored when --jobs is non-zero.

All credit for this fix goes to @ian-h-chamberlain, who reported the bug and found where the fix needed to be applied.

Fix the bug reported in PyCQA#2216 where
`--diff` is ignored when `--jobs` is non-zero.

All credit for this fix goes to @ian-h-chamberlain, who reported the bug
and found where the fix needed to be applied.
Copy link
Member

@DanielNoord DanielNoord left a comment

Choose a reason for hiding this comment

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

LGTM!

Up to @staticdev whether a test for this is needed, but it seems like a nice fix to get in.

Copy link

codecov bot commented Jan 20, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.12%. Comparing base (788b27d) to head (6da9dc4).
Report is 4 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2302   +/-   ##
=======================================
  Coverage   99.12%   99.12%           
=======================================
  Files          40       40           
  Lines        3098     3098           
  Branches      788      788           
=======================================
  Hits         3071     3071           
  Misses         15       15           
  Partials       12       12           

@staticdev staticdev added enhancement New feature or request bug Something isn't working and removed enhancement New feature or request labels Jan 21, 2025
@staticdev staticdev merged commit 878824b into PyCQA:main Jan 21, 2025
18 checks passed
@staticdev
Copy link
Collaborator

Thanks @mnakama and @DanielNoord

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants