From e543127c36daace796c558b2848e92c515b0467f Mon Sep 17 00:00:00 2001 From: Richard Barnes Date: Tue, 5 Sep 2023 17:28:11 -0700 Subject: [PATCH] Del `(object)` from 10 inc measurement/ncs_ca_plus/reach_analysis.py Summary: Python3 makes the use of `(object)` in class inheritance unnecessary. Let's modernize our code by eliminating this. Reviewed By: meyering Differential Revision: D48957859 --- fbpcp/gateway/s3.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fbpcp/gateway/s3.py b/fbpcp/gateway/s3.py index 52a2cf19..63f744e6 100644 --- a/fbpcp/gateway/s3.py +++ b/fbpcp/gateway/s3.py @@ -159,7 +159,7 @@ def get_public_access_block(self, bucket: str) -> PublicAccessBlockConfig: response["RestrictPublicBuckets"], ) - class ProgressPercentage(object): + class ProgressPercentage: def __init__(self, file_name: str, file_size: int) -> None: self._progressbar: tqdm = tqdm(total=file_size, desc=file_name)