scrapinghub / spidermon

Scrapy Extension for monitoring spiders execution.
https://spidermon.readthedocs.io
BSD 3-Clause "New" or "Revised" License
533 stars 97 forks source link

Fix code formatting with black #268

Closed rennerocha closed 4 years ago

rennerocha commented 4 years ago

Build was failing because code wasn't formatted accordingly using black.

codecov[bot] commented 4 years ago

Codecov Report

Merging #268 into master will not change coverage. The diff coverage is 50.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #268   +/-   ##
=======================================
  Coverage   72.52%   72.52%           
=======================================
  Files          68       68           
  Lines        2817     2817           
  Branches      321      321           
=======================================
  Hits         2043     2043           
  Misses        712      712           
  Partials       62       62           
Impacted Files Coverage Δ
spidermon/contrib/actions/sentry/__init__.py 0.00% <0.00%> (ø)
spidermon/contrib/monitors/mixins/validation.py 90.68% <100.00%> (ø)

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 2154b29...52a3b71. Read the comment docs.

rennerocha commented 4 years ago

This PR doesn't need more tests as it is only updating code formatting. For some unknown reason, coverage starts to consider one line as not covered even if the same line formatted in a different way was considered as covered. So I will merge this PR as it is now.