collerek/ormar

View on GitHub
ormar/fields/foreign_key.py

Summary

Maintainability
A
1 hr
Test Coverage
A
100%

File foreign_key.py has 569 lines of code (exceeds 500 allowed). Consider refactoring.
Invalid

import string
import sys
import uuid
from dataclasses import dataclass
from random import choices
Severity: Major
Found in ormar/fields/foreign_key.py - About 3 hrs to fix

    Function ForeignKey has 11 arguments (exceeds 6 allowed). Consider refactoring.
    Open

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

      There are no issues that match your filters.

      Category
      Status