Closed dechamps closed 2 months ago
Attention: Patch coverage is 75.00000%
with 1 line
in your changes missing coverage. Please review.
Project coverage is 77.67%. Comparing base (
85f55c4
) to head (2436200
).
Files | Patch % | Lines |
---|---|---|
transmission_rpc/client.py | 75.00% | 1 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
please do not use force push
please do not use force push
Okay, went back to the original commit and made a new one on top. (I usually try to keep PRs in a clean ready-to-merge state, but you're the boss…)
please do not use force push
Okay, went back to the original commit and made a new one on top. (I usually try to keep PRs in a clean ready-to-merge state, but you're the boss…)
I prefer squash merging so any PR with good patch are clean ready-to-merge PR to me. Only PR title matters, commit history doesn't matter.
I prefer squash merging
Yeah I guess I can see the appeal of that - it makes sense. I usually prefer rebase merging myself, though. To me the downside of squash merging is, if the PR is complex and contains several well-defined cleanly delineated commits, squash merging will drop the distinction between commits, leading to huge commits that make history hard to read. But I do concede there are valid points on both sides of this debate.
If an empty torrent file (as in, zero bytes) is passed to
add_torrent()
, the previous code would fall over and attempt to awkwardly pass the path itself as the torrent data, resulting in a very cryptic error being raised. This commit ensures we fail early and cleanly in this case.