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

Fix the fmt: skip issues. Changed a test case also #4380

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

devshah9
Copy link

Description

Checklist - did you ...

  • Add an entry in CHANGES.md if necessary?
  • Add / update tests if necessary?
  • Add new / update outdated documentation?

Fixes #4366 , #3682 , #3608 , #3603 , #3364 , #3009

Please Review this and let me know if something need to be changed

I have change a test file Because

Input:-

bar =    (
    123   ,
    (        1      +           5      )  # pylint # fmt:skip
)

Previous Output:-

bar = (
    123   ,
    (        1      +           5      )  # pylint # fmt:skip
)

New Output:-

bar = (
    123,
    (        1      +           5      )  # pylint # fmt:skip
)

The test file ignores the previous line from skip line because it is on same parent nodes.

Copy link

diff-shades reports zero changes comparing this PR (ee3fd3c) to main (b677a64).


What is this? | Workflow run | diff-shades documentation

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.

fmt: skip is required at the line which follows the one incorrectly formatted
1 participant