Replies: 1 comment 1 reply
-
There are good reasons why pyright outputs absolute paths in its output. Even if this were a desirable change (which I think it is not), it would be relatively disruptive because of existing scripts that do diffs of pyright's output. If you prefer a different output format, you have the option of using the |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I find that I've had to do this more than a few times to make pyright's output readable and/or suitable for a pastebin.
Would you consider a patch to make this the default behavior? I feel like I've even see a helper method somewhere to call
Path.relpath
iff it shortens thePath
, somewhere...Beta Was this translation helpful? Give feedback.
All reactions