fedspendingtransparency/usaspending-api

View on GitHub
usaspending_api/common/csv_stream_s3_to_pg.py

Summary

Maintainability
A
50 mins
Test Coverage
F
46%

Function _download_and_copy has 9 arguments (exceeds 6 allowed). Consider refactoring.
Open

def _download_and_copy(
Severity: Major
Found in usaspending_api/common/csv_stream_s3_to_pg.py - About 50 mins to fix

    Function copy_csvs_from_s3_to_pg has 8 arguments (exceeds 6 allowed). Consider refactoring.
    Wontfix

    def copy_csvs_from_s3_to_pg(
    Severity: Major
    Found in usaspending_api/common/csv_stream_s3_to_pg.py - About 45 mins to fix

      Function copy_csv_from_s3_to_pg has 7 arguments (exceeds 6 allowed). Consider refactoring.
      Wontfix

      def copy_csv_from_s3_to_pg(
      Severity: Major
      Found in usaspending_api/common/csv_stream_s3_to_pg.py - About 35 mins to fix

        There are no issues that match your filters.

        Category
        Status