iterative/dvc

View on GitHub
dvc/dvcfile.py

Summary

Maintainability
B
5 hrs
Test Coverage

File dvcfile.py has 333 lines of code (exceeds 250 allowed). Consider refactoring.
Open

import contextlib
import os
from typing import TYPE_CHECKING, Any, Callable, ClassVar, Optional, TypeVar, Union

from dvc.exceptions import DvcException
Severity: Minor
Found in dvc/dvcfile.py - About 4 hrs to fix

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

        def dump(self, stage, update_pipeline=True, update_lock=True, **kwargs):
    Severity: Minor
    Found in dvc/dvcfile.py - About 35 mins to fix

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

          def __init__(self, repo, path, verify=True, **kwargs):
      Severity: Minor
      Found in dvc/dvcfile.py - About 35 mins to fix

        There are no issues that match your filters.

        Category
        Status