CenterForOpenScience/waterbutler

View on GitHub
waterbutler/providers/googlecloud/provider.py

Summary

Maintainability
B
6 hrs
Test Coverage

File provider.py has 406 lines of code (exceeds 250 allowed). Consider refactoring.
Open

import time
import base64
import typing
import hashlib
import logging
Severity: Minor
Found in waterbutler/providers/googlecloud/provider.py - About 5 hrs to fix

    Function _build_and_sign_url has 6 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        def _build_and_sign_url(self, http_method: str, obj_name: str, content_md5: str='',
    Severity: Minor
    Found in waterbutler/providers/googlecloud/provider.py - About 45 mins to fix

      There are no issues that match your filters.

      Category
      Status