Skip to content

Releases: keewis/blackdoc

v0.3.6

25 Aug 10:07

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

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

Choose a tag to compare

Bug fixes:

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

v0.3.3

06 Feb 12:55

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

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

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

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

Release v0.2

30 Oct 14:25

Choose a tag to compare

Bug fixes:

  • fix formatting empty doctest lines
  • don't change the triple quote style of nested docstrings

New features:

  • add support for the testcode rst directives
  • read settings from a configuration file
  • add the --force-exclude option

Release v0.1.2

30 Oct 14:20

Choose a tag to compare

Bugfix release:

  • keep compatibility with black version 20.8b1

Release v0.1.1

30 Oct 14:19

Choose a tag to compare

Fixed bugs / new features:

  • always return a non-zero error code if there was an error
  • add a pre-commit hook configuration