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

Backport latest black changes (Python 3.9) #53

Closed
MatthewScholefield opened this issue Aug 9, 2021 · 1 comment
Closed

Backport latest black changes (Python 3.9) #53

MatthewScholefield opened this issue Aug 9, 2021 · 1 comment

Comments

@MatthewScholefield
Copy link

I noticed blue is failing for a specific Python 3.9 syntax:

def get_dec_dec():
  def get_dec():
    def dec(func):
      print(func)
    return dec
  return get_dec

@get_dec_dec()()
def foo():
  ...
error: cannot format example.py: Cannot parse: 8:14: @get_dec_dec()()
Oh no! 💥 💔 💥
1 file failed to reformat

It would be nice to support this so I was wondering if it would be possible to port changes from the latest black to blue.

@MatthewScholefield MatthewScholefield changed the title Backpot latest black changes (Python 3.9) Backport latest black changes (Python 3.9) Aug 9, 2021
@grantjenks
Copy link
Owner

Fixed in #54

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

No branches or pull requests

2 participants