-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace AnalysisReport with Iterator[Result]
Drop the old AnalysisReport structure in favor of lightweight Result that just has severity and markdown content. Switch execute() methods to yield Results which makes the flow a bit easier to deal with. Titles are now generated by analyzer.get_title() instead of being bundled with the reports themselves, and similarly, object_paths are part of the task_queue metadada rather than Results. Also added progress bar and removed continuous printing of results as they become available. We are at a stage where final report may be good enough. Logging may still interfere with progress bar though, some other libraries may solve this, but for now, it's probably okay as-is.
- Loading branch information
Showing
8 changed files
with
180 additions
and
160 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.