Skip to content

isort disagrees with pylint #2014

@dfrankow

Description

@dfrankow

I put both isort (5.10.1) and pylint (2.13.4) into my pre-commit script. They disagree:

pylint...................................................................Failed
- hook id: pylint
- exit code: 16

************* Module audio
src/some_file.py:6:0: C0411: third party import "from gtts import gTTS" should be placed before "from a_file import AFile" (wrong-import-order)

When I move the third-party gtts above a_file, isort puts it back and annoys pylint.

So, sadly, I've disabled isort.

Best wishes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions