You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Result: INTERNAL ERROR: Black produced code that is not equivalent to the source. Please report a bug on https://github.com/ambv/black/issues. This diff might be helpful: /var/folders/d6/wn1mqq2j05n50jjvrtk94scr0000gn/T/blk_xq234z_q.log
This is the minimal reproducing case I could reduce it to. Not exactly sure where the issue is, but I figured it would be helpful to file. Thanks for working on Black!
The text was updated successfully, but these errors were encountered:
Just encountered the same problem when trying to tell black not to format Click decorators but do format the rest of the file:
# fmt: off@click.command()@click.option("--interactive", "-i",is_flag=True, default=False, show_default=True,help="Open the browser.",)# fmt: ondeffoo(interactive):
# Some ugly code here
Operating system: MacOS 10.14.3
Python version: 3.6.6
Black version: 18.9b0
Does also happen on master: Yes
Input:
Result:
INTERNAL ERROR: Black produced code that is not equivalent to the source. Please report a bug on https://github.com/ambv/black/issues. This diff might be helpful: /var/folders/d6/wn1mqq2j05n50jjvrtk94scr0000gn/T/blk_xq234z_q.log
This is the minimal reproducing case I could reduce it to. Not exactly sure where the issue is, but I figured it would be helpful to file. Thanks for working on Black!
The text was updated successfully, but these errors were encountered: