Linter: Fix >160 line length test (#29287)

* test

* fix line length

* fix line length

* fix file size

* revert poetry

* cleanup for PR
old-commit-hash: cf64b27168614f851087adab2d7f766425922f64
This commit is contained in:
Justin Newberry
2023-08-08 17:13:35 -07:00
committed by GitHub
parent 6d1965f755
commit 7b677910df
54 changed files with 220 additions and 109 deletions
+2 -1
View File
@@ -211,7 +211,8 @@ class Uploader:
else:
content_length = int(stat.request.headers.get("Content-Length", 0))
self.last_speed = (content_length / 1e6) / self.last_time
cloudlog.event("upload_success", key=key, fn=fn, sz=sz, content_length=content_length, network_type=network_type, metered=metered, speed=self.last_speed)
cloudlog.event("upload_success", key=key, fn=fn, sz=sz, content_length=content_length,
network_type=network_type, metered=metered, speed=self.last_speed)
success = True
else:
success = False