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

reformatting issue #2486

Closed
vamshikrishna3105 opened this issue Sep 8, 2021 · 3 comments
Closed

reformatting issue #2486

vamshikrishna3105 opened this issue Sep 8, 2021 · 3 comments
Labels
C: unstable formatting Formatting changed on the second pass S: awaiting response Waiting for futher information from OP S: needs repro Needs a functional reproduction T: bug Something isn't working

Comments

@vamshikrishna3105
Copy link

Describe the bug

error: cannot format /Users/vamshi.venkataswamy/ENV/lib/python3.7/site-packages/pip/_internal/cli/autocompletion.py: INTERNAL ERROR: Black produced different code on the second pass of the formatter.

To Reproduce

Expected behavior

Environment (please complete the following information):

  • Version:
  • OS and Python version:

Does this bug also happen on main?

Additional context

@vamshikrishna3105 vamshikrishna3105 added the T: bug Something isn't working label Sep 8, 2021
@JelleZijlstra
Copy link
Collaborator

Could you provide a copy of the file and tell us what version of Black you're running?

@ichard26 ichard26 added C: unstable formatting Formatting changed on the second pass S: awaiting response Waiting for futher information from OP S: needs repro Needs a functional reproduction labels Sep 12, 2021
@jaap3
Copy link

jaap3 commented Sep 29, 2021

I think this might be a duplicate of #1629, the file mentioned in the description it's part of pip. The git history of that file in the pip repository mentions having to do a workaround for black: pypa/pip@83c596f

Running black (21.9b0) on the version of that file before that commit works now.

@ichard26
Copy link
Collaborator

Closing as I cannot reproduce this bug given the very limited information provided (thank you @jaap3!) with 21.12b0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: unstable formatting Formatting changed on the second pass S: awaiting response Waiting for futher information from OP S: needs repro Needs a functional reproduction T: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants