iterative/dvc

View on GitHub
dvc/commands/data_sync.py

Summary

Maintainability
C
7 hrs
Test Coverage

File data_sync.py has 400 lines of code (exceeds 250 allowed). Consider refactoring.
Open

import argparse

from dvc.cli import completion, formatter
from dvc.cli.command import CmdBase
from dvc.cli.utils import append_doc_link
Severity: Minor
Found in dvc/commands/data_sync.py - About 5 hrs to fix

    Function add_parser has 50 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    def add_parser(subparsers, _parent_parser):
        from dvc.commands.status import CmdDataStatus
    
        # Pull
        PULL_HELP = "Download tracked files or directories from remote storage."
    Severity: Minor
    Found in dvc/commands/data_sync.py - About 2 hrs to fix

      There are no issues that match your filters.

      Category
      Status