Skip to content

Commit

Permalink
mypy: set stream to "both"
Browse files Browse the repository at this point in the history
mypy outputs the errors to `stdout` by default but the following
configuration options can change the behavior to output them on
`stderr`:

install_types = "True"
non_interactive = "True"

`stream = "both"` should handle both cases.

Closes #700
  • Loading branch information
mfussenegger committed Jan 18, 2025
1 parent dfa45de commit c9aa44f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lua/lint/linters/mypy.lua
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ local severities = {
return {
cmd = 'mypy',
stdin = false,
stream = "both",
ignore_exitcode = true,
args = {
'--show-column-numbers',
Expand Down

0 comments on commit c9aa44f

Please sign in to comment.