Exiting with a non-zero exit code causes nano to think the linter failed to run
Author: Firepup6500Created Sep 15, 2026Updated Sep 15, 2026
Labelsenhancement request
Is your feature request related to a problem? Please describe.
In nano, if a linter exits with a non-zero exit code, it assumes the command has failed and aborts showing the results from the linter all-together (Instead simply displaying [ Error invoking '<tool name>' ], e.g. [ Error invoking 'pylint' ]).
Describe the solution you’d like
It would be helpful if pyright had a flag (or config option) similar to pylint's --exit-zero flag, so it can be used more easily in nano (the other option here being some form of wrapper to trash the exit code, which is not desirable since it adds unnecessary complexity).
Source: microsoft/pyright