faust-streaming / faust

Python Stream Processing. A Faust fork
https://faust-streaming.github.io/faust/
Other
1.62k stars 180 forks source link

Run black and update setup.cfg for flake8 to ignore E701 and E704 #609

Closed Tim-Thomas closed 7 months ago

Tim-Thomas commented 7 months ago

This re-formats everything to match current black configuration and allow flake8 to succeed.

Tim-Thomas commented 7 months ago

This seems to be a deliberate change to black: https://github.com/psf/black/pull/4066/files and the conflict with flake8 as well as the solution (tell flake8 to ignore e701 and e704) is documented here: https://github.com/psf/black/issues/4173

codecov[bot] commented 7 months ago

Codecov Report

Attention: 5 lines in your changes are missing coverage. Please review.

Comparison is base (4a09533) 93.73% compared to head (307f4fd) 93.72%.

Files Patch % Lines
faust/transport/consumer.py 50.00% 0 Missing and 2 partials :warning:
faust/contrib/sentry.py 0.00% 1 Missing :warning:
faust/livecheck/case.py 50.00% 0 Missing and 1 partial :warning:
faust/sensors/base.py 0.00% 0 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #609 +/- ## ========================================== - Coverage 93.73% 93.72% -0.02% ========================================== Files 102 102 Lines 11158 11122 -36 Branches 1536 1545 +9 ========================================== - Hits 10459 10424 -35 + Misses 612 607 -5 - Partials 87 91 +4 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.