-
-
Notifications
You must be signed in to change notification settings - Fork 3k
mypy's --pretty option printing one word per line when used with pre-commit #8816
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I believe that only got fixed in v0.770 and it looks like pip is still on v0.760 |
Yep, I updated https://github.com/pypa/pip/blob/d911a9fcb8d29ed560ba0ccb16f83f914a37a2a7/.pre-commit-config.yaml#L32 to
|
Thanks @pradyunsg and @asottile! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On running mypy as a pre-commit hook along with
--pretty
option, mypy prints one word per line.For example, after having the following
pre-commit
configuration withpip
which includes the--pretty
optionhttps://github.com/pypa/pip/blob/d911a9fcb8d29ed560ba0ccb16f83f914a37a2a7/.pre-commit-config.yaml#L31-L41
If I introduce a mypy error, it looks like:
The text was updated successfully, but these errors were encountered: