iterative/dvc

View on GitHub
dvc/parsing/context.py

Summary

Maintainability
C
7 hrs
Test Coverage

File context.py has 436 lines of code (exceeds 250 allowed). Consider refactoring.
Open

import logging
import os
from abc import ABC, abstractmethod
from collections import defaultdict
from collections.abc import Mapping, MutableMapping, MutableSequence, Sequence
Severity: Minor
Found in dvc/parsing/context.py - About 6 hrs to fix

    Function load_from_vars has 6 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        def load_from_vars(
    Severity: Minor
    Found in dvc/parsing/context.py - About 45 mins to fix

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

          def merge_from(self, fs, item: str, wdir: str, overwrite=False):
      Severity: Minor
      Found in dvc/parsing/context.py - About 35 mins to fix

        There are no issues that match your filters.

        Category
        Status