Skip to content

Failing when reading argument from pyproject.toml file #128

@ariasjose

Description

@ariasjose

I'm receiving the following error when using pyproject.toml config file:
Don't know if I'm providing the param in the right way.

Traceback (most recent call last):
File "/opt/venv/lib/python3.8/site-packages/pydocstringformatter/configuration/toml_parsing.py", line 32, in _parse_toml_option
action = OPTIONS_TYPES[opt]
KeyError: 'max-summary-lines'
pydocstringformatter.utils.exceptions.UnrecognizedOption: Don't recognize option max-summary-lines

pyproject.toml ==>
[tool.pydocstringformatter]
max-summary-lines = 2

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions