preset = "strict"
pytorch-efficiency-lints = "true"
$ pyrefly check example.py
ERROR /home/dillon/sbx/demos/pyrefly/pyrefly.toml: TOML parse error at line 1, column 1
|
1 | preset = "strict"
| ^
invalid type: string "true", expected a boolean
Fatal configuration error
Reproducible in the sandbox, which just displays the first line as well.
Describe the Bug
I was trying out
pytorch-efficiency-lintsand created the followingpyrefly.toml:Here I incorrectly used
"true"instead oftrue. However,pyreflyincorrectly reports where the error in toml parsing occured:Reproducible in the sandbox, which just displays the first line as well.
Sandbox Link
https://pyrefly.org/sandbox/?project=N4IgZglgNgpgziAXKOBDAdgEwEYHsAeAdAA4CeSIIANCGQE4xhSmEAuuAtlBQMQAEABVIMmpPmix58fAMa50kAOYBXOqlYR5hADrp%2BAZRgw%2BAC1aticRAHpr9Rs0K46i6zHTXMuGXGtyFECpqGvLWfGDOfKgAbqjQqNiwsvJKquqa6Hy4xCHocDroZKwm8gC00TB0cBl8ALx82iAAzIQAjABMjbrEDHAwrHUNIHCsdBAyrF2FpOx0MialjJAyEO4ypKVQEOiscIONo8owUyAAvjSoExAVAGLQMBQSOAQk5KdAA
(Only applicable for extension issues) IDE Information
No response