collerek/ormar

View on GitHub
ormar/fields/model_fields.py

Summary

Maintainability
B
6 hrs
Test Coverage
A
100%

File model_fields.py has 660 lines of code (exceeds 500 allowed). Consider refactoring.
Open

import datetime
import decimal
import uuid
from enum import Enum as E
from enum import EnumMeta
Severity: Major
Found in ormar/fields/model_fields.py - About 5 hrs to fix

    Function __new__ has 10 arguments (exceeds 6 allowed). Consider refactoring.
    Open

        def __new__(  # type: ignore # noqa CFQ002
    Severity: Major
    Found in ormar/fields/model_fields.py - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status