Skip to content

Third-party after local import should be forbidden but isn't #171

@hydrargyrum

Description

@hydrargyrum

When putting a third-party import after local import, pep8 style should reject it, but it doesn't:

% cat test.py
import os

import third

from .local import something

import party
% flake8 test.py --select=I2 --import-order-style=pep8 && echo no problem
no problem

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions