Skip to content

Releases: keewis/blackdoc

v0.3.9

04 Nov 17:14
cc8a7c5
Compare
Choose a tag to compare

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

03 Nov 14:35
Compare
Choose a tag to compare

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

13 Sep 09:36
Compare
Choose a tag to compare

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

25 Aug 10:07
Compare
Choose a tag to compare

Bug fixes:

  • fix a regression in the doctest format where we would either truncate the reformatted code or crash (#137)

v0.3.5

26 Jul 11:41
Compare
Choose a tag to compare

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

17 Jul 19:56
Compare
Choose a tag to compare

Bug fixes:

  • declare the direct dependency on toml (#100, #101)

v0.3.3

06 Feb 12:55
Compare
Choose a tag to compare

Bug fixes:

  • don't crash on rst code blocks missing a newline between the options and the code

v0.3.2

05 Jan 21:48
Compare
Choose a tag to compare

Bug fixes:

  • keep newlines immediately before the end of the file in reStructuredText files

v0.3.1

04 Dec 22:00
Compare
Choose a tag to compare

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

04 Nov 19:42
Compare
Choose a tag to compare

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