Skip to content

ICN does not detect networkx as nx #6763

@AbdealiLoKo

Description

@AbdealiLoKo

I was using the flake8-import-conventions's ICN rules in my project.
I notice that the networkx as nx is not implemented in ruff's settings

The original library has support for networkx in ICN004 - https://github.com/joaopalmeiro/flake8-import-conventions#flake8-codes

TO reproduce:

$ cat /tmp/try.py
import networkx

$ ruff /tmp/try.py --isolated --select ICN
$ echo $?
0

$ ruff --version
ruff 0.0.285

Metadata

Metadata

Assignees

No one assigned

    Labels

    acceptedReady for implementationconfigurationRelated to settings and configuration

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions