Different errors being reported on the same file depending on whether parsing from stdin
or not
#6627
Labels
bug
Something isn't working
stdin
or not
#6627
Given the following file named
foo.pyi
:ruff
reports different errors depending on whether it's being parsed fromstdin
. The following reports no errors:And the following reports an error in the first line:
The reason this is coming up is because
ruff-lsp
runsruff
similar to how the second command runs and is reporting errors in my stubs project.The text was updated successfully, but these errors were encountered: