-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Error parsing TOML on 1.1.386 if using comments in Arrays #9296
Comments
See #9297 for an explanation. Both |
Looks like I'll need to back out the change for #9286. @InSyncWithFoo, I looked at I'll investigate other options. |
Can confirm. Even comments above a list is failing for me |
… latest toml standard. This addresses #9296.
… latest toml standard. This addresses #9296.
I switched to a different toml parser library — one that claims to support the toml 1.0 standard. Let's see if this addresses all of the issues. |
@erictraut I'm having the same issue with |
@Dr-Irv, good idea. I confirmed that the new toml parser works fine with |
This is addressed in pyright 1.1.387. |
Description
After upgrading from 1.1.385 to 1.1.386 pyright raises errors "Pyproject file parse attempt 1 error:"
Issue is raised if pyproject.toml has comments in arrays
E.g. error in 1.1.386 (while OK in 1.1.385
If removing comments, parsing is OK in new version also
The text was updated successfully, but these errors were encountered: