Skip to content

Imports are incorrectly sorted after isorting #1048

@mdczaplicki

Description

@mdczaplicki

So I've run an isort -rc -y command and after that I isort -rc --check-only and I get to see that some of the files has Imports are incorrectly sorted.

This is part of the code that is being involved:

from products.factories import (
    ProductFactory,
    ProductImageFactory,
    ProductOptionFactory,
    ProductOptionValueFactory,
    ProductPresentmentPriceFactory,
    ProductVariantFactory,
)
from products.models import Product, ProductImage, ProductOption, ProductOptionValue, ProductPresentmentPrice, ProductVariant

from django.test import TestCase

setup.cfg

[isort]
line_length=140
forced_separate=django
multi_line_output=3
balanced_wrapping=True

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already existsenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions