Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docformatter omits pyproject.toml configuration when has no extra dependencies installed #268

Open
kfot opened this issue Oct 26, 2023 · 0 comments
Labels
C: stakeholder Relates to docformatter stakeholder requested behavior P: bug PEP 257 violation or existing functionality that doesn't work as documented U: medium A relatively medium urgency issue

Comments

@kfot
Copy link

kfot commented Oct 26, 2023

I have a pyproject.toml file containing some entries for black, ruff and docformatter. When I install the latest docformatter in a clean environment it does not read the configuration from the config file, simply omits it even if it's explicitly specified. The other formatters have no issue reading the same file.

My pyproject toml:

[tool.docformatter]
black = true
recursive = true
in-place = true
wrap-summaries = 120
wrap-descriptions = 120

I believe the behavior is exactly the same as in this old issue.

Issue is present in docformatter version 1.7.5, tested on multiple Python versions with the same results.

@github-actions github-actions bot added the fresh This is a new issue label Oct 26, 2023
@weibullguy weibullguy added P: bug PEP 257 violation or existing functionality that doesn't work as documented C: stakeholder Relates to docformatter stakeholder requested behavior and removed fresh This is a new issue labels Nov 21, 2023
@github-actions github-actions bot added U: medium A relatively medium urgency issue labels Nov 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: stakeholder Relates to docformatter stakeholder requested behavior P: bug PEP 257 violation or existing functionality that doesn't work as documented U: medium A relatively medium urgency issue
Projects
None yet
Development

No branches or pull requests

2 participants