Skip to content

Ruff doesn't seem to recognize a submodule? #138

@seriaati

Description

@seriaati

pre-commit.ci log: https://results.pre-commit.ci/run/github/764927872/1760400948.Ee1hQdukQAuyjxwyfetRqg
Repo: https://github.com/seriaati/enka-card-api

In the log, ruff says rule I001 failed (import is not formatted), but on my local development environment, ruff passes with no issues.
ruff's suggestion is to move from ENCard.encard import encard import into the second level, but ENCard is a submodule in project root, so it should be in third level.

This also happens with ruff-action.

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