PatchPorting / patch-finder

A tool to find security patches from across the web.
GNU General Public License v2.0
4 stars 6 forks source link

patchfinder: pipelines: pretty print patches.json #11

Closed jajajasalu2 closed 4 years ago

jajajasalu2 commented 4 years ago

patches.json would have a very messy output, and you couldn't make much sense of it. Use the indent argument to add an indentation of 4 spaces and pretty print the JSON.

Signed-off-by: Jaskaran Singh jaskaransingh7654321@gmail.com

codecov-commenter commented 4 years ago

Codecov Report

Merging #11 into master will increase coverage by 0.24%. The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #11      +/-   ##
==========================================
+ Coverage   86.83%   87.08%   +0.24%     
==========================================
  Files          15       15              
  Lines         623      635      +12     
==========================================
+ Hits          541      553      +12     
  Misses         82       82              
Impacted Files Coverage Δ
patchfinder/spiders/pipelines.py 0.00% <0.00%> (ø)
patchfinder/spiders/default_spider.py 97.89% <0.00%> (+0.04%) :arrow_up:
patchfinder/context.py 98.43% <0.00%> (+0.05%) :arrow_up:
patchfinder/spiders/middlewares.py 96.15% <0.00%> (+0.15%) :arrow_up:
patchfinder/spiders/base_spider.py 96.07% <0.00%> (+0.16%) :arrow_up:
patchfinder/resource.py 95.68% <0.00%> (+0.19%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 98cfc5c...bd1cfae. Read the comment docs.