Releases: DanielNoord/pydocstringformatter
Releases · DanielNoord/pydocstringformatter
Release 0.7.3
What's Changed
- Fix crash with almost empty docstrings by @DanielNoord in #152
- Fix adding whitespaces in
numpydoc
style to single line docstrings by @DanielNoord in #158 - Fixed toml parser ignoring style by @jspaezp in #156
- Fixed bug where empty summaries fail with index error by @jspaezp in #163
- Bugfix/emptyline no whitespace by @jspaezp in #161
- Added boolean optional argument support by @jspaezp in #166
- Add example formatters and a
compare_formatter
utility by @DanielNoord in #180 - Don't add a new line in one-line Numpy docstrings by @DanielNoord in #181
- Feature: two-pass formatting of the tokens by @jspaezp in #173
New Contributors
Full Changelog: v0.7.2...v0.7.3
Release 0.7.2
What's Changed
- Fix crash with almost empty docstrings by @DanielNoord in #151
Full Changelog: v0.7.1...v0.7.2
Release 0.7.1
Release 0.7.0
What's Changed
- Fix parsing of values in
pyproject.toml
by @DanielNoord in #129 - Add the
--style
option by @DanielNoord in #138 - Run formatters based on the selected style by @DanielNoord in #145
- ENH: Add formatters for numpydoc section ordering and name/type spacing by @DWesl in #132
New Contributors
Full Changelog: v0.6.2...v0.7.0
Release 0.6.2
Bug fixes:
- Fix parsing of values in
pyproject.toml
by @DanielNoord in #129
Other changes:
- Make
3.11
support explicit by @DanielNoord in #121 - Made all modules and files private by @DanielNoord in #122
- Use
furo
as documentation theme by @DanielNoord in #123
Full Changelog: v0.6.1...v0.6.2
Release 0.6.1
Release 0.6.0
New functions:
- Handle multi-line summaries in
FinalPeriodFormatter
by @DanielNoord in #77 - Add a newline to the end of the diff output by @DanielNoord in #79
- Create
SummaryAndDescriptionFormatter
by @DanielNoord in #82 - Add
--exit-code
option and add number of files to output by @DanielNoord in #81 - Add line wrapping to summaries of docstrings by @Pierre-Sassoulas in #14
- Make
SplitSummaryAndDocstringFormatter
non-optional by @DanielNoord in #94 - Improve removal of unnecessary or double white lines by @DanielNoord in #98
- Add
--max-line-length
option by @mdczaplicki in #105
Bug fixes:
- Fix the
SummaryFormatter
by @DanielNoord in #76 - Fix handling of summaries on a separate line by @DanielNoord in #89
- Fix a bug with wrapping of single line summaries by @DanielNoord in #95
Project changes:
- Add primer tests by @DanielNoord in #78
New Contributors
- @mdczaplicki made their first contribution in #105
Full Changelog: v0.5.3...v0.6.0
Release 0.5.3
What's Changed
- Fix a crash with
SummaryFormatter
by @DanielNoord in #76
Full Changelog: v0.5.2...v0.5.3
Release 0.5.2
This is a re-release of 0.5.1 which had an incorrect tag number.
Nothing else changed.
Release 0.5.1
Please use version 0.5.2. This version has been yanked.
Bug fixes:
- Fix bug with pre-commit hook config by @DanielNoord in #73
Full Changelog: v0.5.0...v.0.5.1