Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork3.1k
Add Error format support, and JSON output option#11396
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Merged
Uh oh!
There was an error while loading.Please reload this page.
Merged
Changes from1 commit
Commits
Show all changes
48 commits Select commitHold shift + click to select a range
393820c Add -O/--output CLI option
tusharsadhwani282bd28 Initial formatter setup
tusharsadhwaniccda5b0 Make error_formatter an optional argument
tusharsadhwanic849a77 Fix type annotation
tusharsadhwanifd2feab Fix whitespace
tusharsadhwanib188001 Remove whitespace
tusharsadhwani51c1acc Merge branch 'master' of https://github.com/tusharsadhwani/mypy into …
tusharsadhwani9177dab Merge branch 'python:master' into output-json
tushar-deepsourcebc5ceac Add hint property to errors
tushar-deepsource9d29ab0 Fix lint issues
tusharsadhwanibd6d48d Merge branch 'master' into output-json
tusharsadhwaniba8d17f Fix import and typing issues
tusharsadhwania2bc04d Fix error tuple signature
tusharsadhwani35974e4 Import Optional
tusharsadhwani1e5ec91 Run black
tusharsadhwani723219f Run black on another file
tusharsadhwani2228c0a Run isort
tusharsadhwani33d81b0 Run isort on build.py
tusharsadhwani63001ea Merge branch 'master' into output-json
tusharsadhwanid27be7e Merge branch 'master' into output-json
tusharsadhwaniefe5c5d Merge branch 'master' into output-json
tusharsadhwani1872ae6 Add tests for json output
tusharsadhwani3abc9cb Suggestions from code review, and negative test
tusharsadhwani6c9ab11 Add default value of None
tusharsadhwani627ed8e Default output to None in options as well
tusharsadhwanie425cbe Fix failing tests
tusharsadhwani47f1b07 improve docstring
tusharsadhwanie00ad4a type cast
tusharsadhwanic1fb6a2 Another explicit type cast
tusharsadhwaniaafe3aa remove unused import
tusharsadhwanifae3215 create formatter object
tusharsadhwani89ad1d3 Add custom end to end test
tusharsadhwani7a3f736 unused import
tusharsadhwani6d46f75 trailing whitespace
tusharsadhwanie71a372 try fixing windows
tusharsadhwani8cca203 fix windows separator issue
tusharsadhwani79e16a8 [pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot]8bf4890 unused import
tusharsadhwani5899f26 Merge branch 'master' into output-json
tusharsadhwani880b8f3 Merge branch 'master' into output-json
tusharsadhwani0aafadf Pass error tuples to format_messages
tusharsadhwani4cab249 Merge branch 'master' into output-json
tusharsadhwani7fe71c3 Merge branch 'master' into output-json
tusharsadhwaniad8f1d6 Merge branch 'master' into output-json
tusharsadhwanie2fd45e [pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot]4b03c5c ruff lints
tusharsadhwanie0e6896 address comments
tusharsadhwania0dc6d1 use severity
tusharsadhwaniFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
type cast
- Loading branch information
Uh oh!
There was an error while loading.Please reload this page.
commite00ad4a978d5b8714a31ff0dd5ce731ac4bff20a
There are no files selected for viewing
2 changes: 1 addition & 1 deletionmypy/main.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.