Skip to content

Version 0.1.2

Compare
Choose a tag to compare
@mbhall88 mbhall88 released this 27 Jul 02:22
· 243 commits to master since this release

0.1.2

This release will potentially produce different output to previous versions. Previously,
when passing code to black for formatting, we were not allowing for the indentation
level of the code. For example, if a line has an indentation level of two and the code
is 40 characters long, the line is 48 characters long. However, we were only passing the
40 characters of code to black meaning, in the running example, if you had set
--line-length 45 the line would not have been formatted. This behaviour is now fixed.

Changed

  • When passing code to black, reduce the line length by the indentation level.