fedspendingtransparency/usaspending-api

View on GitHub
usaspending_api/etl/management/commands/copy_table_metadata.py

Summary

Maintainability
A
0 mins
Test Coverage
D
63%

File copy_table_metadata.py has 266 lines of code (exceeds 250 allowed). Consider refactoring.
Wontfix

import logging
import re
import asyncio
from pprint import pformat
from django.db import connection
Severity: Minor
Found in usaspending_api/etl/management/commands/copy_table_metadata.py - About 2 hrs to fix

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

    def make_copy_constraints(
    Severity: Major
    Found in usaspending_api/etl/management/commands/copy_table_metadata.py - About 35 mins to fix

      There are no issues that match your filters.

      Category
      Status