Skip to content

Configure ruff for proper checks #7

@justinchuby

Description

@justinchuby

I would refer to https://github.com/onnx/onnx/blob/d6f87121ba256ac6cc4d1da0463c300c278339d2/pyproject.toml#L154. For violating files, consider running auto-fix and create inline ignores using ruff check /path/to/file.py --add-noqa https://docs.astral.sh/ruff/linter/#inserting-necessary-suppression-comments so that the rules are not disabled for the rest of the codebase.

Originally posted by @justinchuby in #3 (comment)

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