-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Black fails to run if pyproject.toml has " }" after a boolean #637
Comments
Same error happens on mine as long as there is a boolean:
If the last two lines are removed, everything works. |
Waiting for a new release of toml to fix this. |
Just bumped into this myself after upgrading my system to try to understand the walrus operator - has |
Correct, see uiri/toml#267. |
@GandaG
|
A new version of toml has been released: |
Operating system: OSX High Sierra
Python version: 3.7.1
Black version: 18.9b0
Does also happen on master: Yes
Black gives the following error when you try to run in a folder with the following pyproject.toml:
However if you change the black line to not have a space after allow_prereleases=true then it works fine e.g
This happens if any config in pyproject.toml has "something=true }"
The text was updated successfully, but these errors were encountered: