style: turn on ruff UP and B rules and fix every finding

This commit is contained in:
imSp4rky
2026-11-25 16:34:09 -07:00
parent 1a63076df2
commit d8058a3610
264 changed files with 2950 additions and 2966 deletions
+1 -1
View File
@@ -210,7 +210,7 @@ def test_tail_boost_permanent_part_failure_still_fails_the_batch(server, tmp_pat
server.deny_offset_ranges = True # every part window past the first is a 403
monkeypatch.setattr(dl, "RETRY_WAIT", 0.01)
with pytest.raises(Exception):
with pytest.raises(dl.TailPartFailed):
run(server, tmp_path, seg_urls(server))
assert boost_engaged(server), "tail boost never engaged; the permanent-failure rule is untested"