Skip to content

different error levels (eg. warning & error) #96

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

Closed
DetachHead opened this issue Dec 9, 2021 · 3 comments
Closed

different error levels (eg. warning & error) #96

DetachHead opened this issue Dec 9, 2021 · 3 comments
Labels

Comments

@DetachHead
Copy link
Collaborator

eg. if i'm using basedmypy in an ide and i want baselined errors to appear as warnings and new errors to appear as errors

@DetachHead
Copy link
Collaborator Author

maybe baselined errors can appear as note, which already exists

@DetachHead
Copy link
Collaborator Author

#111 covers this, having a seperate "warning" level seems pointless imo, error and note are the only ones we need

@KotlinIsland
Copy link
Owner

Closing this for now as it seems to be a dupe of #111, mypy can report warnings, but it currently only does in the daemon.

And I'm not sure what benefit warnings would have, to stick around and stink up the output? why not just raise errors.

If someone has a good use case for warnings I'd be happy to listen 😀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants