Skip to content

Parsing error on a supposedly valid pyproject.toml file #64

@prabhu

Description

@prabhu

I am getting the below parsing error for the attached pyproject.toml. Can you advise if there is a workaround or fix possible for the same?

Tested with: http://binarymuse.github.io/toml-node/

Error at line 9 column 5:
Expected "=", [ \t] or [A-Za-z0-9_\-] but "." found.
[tool.poetry]
name = "foo"
version = "0.1.0"

[tool.poetry.dependencies]
python = "^3.12.3"

[tool.ruff]
lint.select = [
  "ANN",  # Type annotations
  "C90",  # Complexity
  "ERA",  # Commentted out code
  "E",    # pycodestyle
  "F",    # pyflakes
  "I",    # isort
  "N",    # pep8-naming
  "W",    # Warnings
]
lint.ignore = [
  "ANN101"
]
line-length = 100

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