Releases: keewis/blackdoc
Releases · keewis/blackdoc
v0.3.9
New Features
- version hook: allow synchronizing the version with the pre-commit mirror (#180)
Maintenance
- drop support for running on the EOL'ed python 3.7 (#186)
- officially support running on python 3.12 (#185)
v0.3.8
New features
Bug fixes
- support
doctest
lines in rST code blocks (#150, #151)
- split chained statements into multiple
doctest
lines (#143, #155, #158)
Maintenance
- drop support for python 3.6 (#153)
- officially support python 3.11 (#163, #164)
v0.3.7
Bug fixes:
- rewrite the triple-quote reconstruction algorithm to finally fix the regression from v0.3.5 (#144)
New features:
- switch to the
furo
theme (#149)
- add a hook to synchronize the version of
black
from the black
hook with the one from additional_dependencies
(#124)
v0.3.6
Bug fixes:
- fix a regression in the
doctest
format where we would either truncate the reformatted code or crash (#137)
v0.3.5
New features:
- colorize removed trailing whitespace in diffs (#120)
- officially support python 3.10 (#115)
Bug fixes:
- write only if the content of a file changed (#127, #128)
- don't crash on strings with trailing empty strings, like
"a"""
(#131, #132)
v0.3.4
Bug fixes:
- declare the direct dependency on
toml
(#100, #101)
v0.3.3
Bug fixes:
- don't crash on rst code blocks missing a newline between the options and the code
v0.3.2
Bug fixes:
- keep newlines immediately before the end of the file in reStructuredText files
v0.3.1
Bug fixes:
- doctest: don't detect comments ending with a colon as blocks
- don't use ANSI codes if we're not printing to a TTY
Release v0.3
New features:
- color the output
- support the
--diff
and --color
/ --no-color
options
- support skipping string normalization
- make sure blocks end with a empty continuation line
Bug fixes:
- make the ordering of the formatted files more predictable