mardiros/blacksmith

View on GitHub
src/blacksmith/domain/model/params.py

Summary

Maintainability
B
7 hrs
Test Coverage

File params.py has 317 lines of code (exceeds 250 allowed). Consider refactoring.
Open

import abc
import warnings
from dataclasses import dataclass
from functools import partial
from typing import (
Severity: Minor
Found in src/blacksmith/domain/model/params.py - About 3 hrs to fix

    ResponseBox has 23 functions (exceeds 20 allowed). Consider refactoring.
    Open

    class ResponseBox(Generic[TResponse, TError_co]):
        """
        Wrap a HTTP response and deserialize it.
    
        ::
    Severity: Minor
    Found in src/blacksmith/domain/model/params.py - About 2 hrs to fix

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

          def __init__(
      Severity: Major
      Found in src/blacksmith/domain/model/params.py - About 50 mins to fix

        There are no issues that match your filters.

        Category
        Status