not sure if this is a bug or just some misconfigur...
# general
h
not sure if this is a bug or just some misconfigured setting i have, but
docformatter
seems to ignore the config i have set in
pyproject.toml
when running though
pants
so e.g.
docformatter .
will say that there are no required changes, but
pants lint ::
will have docformatter complain that some lines are too long, because it’s ignoring the line length i’ve got specified in
pyproject.toml
Copy code
[tool.docformatter]
recursive = true
wrap-summaries = 80
wrap-descriptions = 80
style = "google"
I can fix this by adding these arguments manually to
args
in the
[docformatter]
section of my
pants.toml
, but it seems weird that i would need to duplicate the config in 2 places
b
I wonder if it isn’t discovering the pyproject.toml config file, so the pants runs are running without it. Is there a chance you could create a reduced example and file an issue on github? Thanks!