LilSpazJoekp / docstrfmt

A formatter for reStructuredText
MIT License
23 stars 13 forks source link

Fix line length resolution #86

Closed LilSpazJoekp closed 3 weeks ago

LilSpazJoekp commented 3 weeks ago

Fixes #85

Line length is now correctly resolved. It is now resolved in the following order:

  1. The length specified with the -l flag.
  2. The line-length specified in the tool.docstrfmt section in pyproject.toml.
  3. The line-length specified in the tool.black section in pyproject.toml.
  4. The default line length of black's default line length.