ormar/models/metaclass.py
File metaclass.py
has 635 lines of code (exceeds 500 allowed). Consider refactoring. Open
Open
import copy
import sys
import warnings
from pathlib import Path
from typing import (
Function __new__
has 9 arguments (exceeds 6 allowed). Consider refactoring. Invalid
Invalid
def __new__( # type: ignore # noqa: CCR001
Function copy_and_replace_m2m_through_model
has 8 arguments (exceeds 6 allowed). Consider refactoring. Open
Open
def copy_and_replace_m2m_through_model( # noqa: CFQ002