Skip to content

Ruff misconfiguration #152

@abravalheri

Description

@abravalheri

Right now, if I try to run pipx run --python python3.12 ruff check on the setuptools codebase I get the following error:

ruff failed
  Cause: Failed to parse /home/abravalheri/workspace/setuptools/ruff.toml
  Cause: TOML parse error at line 2, column 11
  |
2 | include = "pyproject.toml"
  |           ^^^^^^^^^^^^^^^^
invalid type: string "pyproject.toml", expected a sequence

The same error shows up in skeleton's CI: https://github.com/jaraco/skeleton/actions/runs/11558298719/job/32170335213.

Probably it should be include = ["pyproject.toml"]?

The configuration was introduced in e61a9df.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions