Closed tleplaearthur closed 1 year ago
You could use different config files, that are otherwise identical.
A similar issue was seen in #73
You can disable it using overrides:
overrides = [True, "--no-pretty"]
There might be edge cases where this is not sufficient. If they arise commonly enough I would consider special support as proposed by above PR.
My mypy configuration sets
pretty
which I want to keep for when I'm running mypy in my pre-commit hook in the terminal. But when this is set to true, I also can't see the full diagnostic message in neovim. Most of the message is cutoff. Is there way to disable thepretty
setting only in pylsp?