airbnb/caravel

View on GitHub
superset/migrations/shared/catalogs.py

Summary

Maintainability
C
1 day
Test Coverage

File catalogs.py has 502 lines of code (exceeds 250 allowed). Consider refactoring.
Open

# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements.  See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership.  The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
Severity: Major
Found in superset/migrations/shared/catalogs.py - About 1 day to fix

    Function update_schema_catalog_perms has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

    def update_schema_catalog_perms(
    Severity: Minor
    Found in superset/migrations/shared/catalogs.py - About 35 mins to fix

      Function print_processed_batch has 5 arguments (exceeds 4 allowed). Consider refactoring.
      Open

      def print_processed_batch(
      Severity: Minor
      Found in superset/migrations/shared/catalogs.py - About 35 mins to fix

        There are no issues that match your filters.

        Category
        Status