Skip to content

Latest commit

 

History

History
50 lines (31 loc) · 1.57 KB

CHANGELOG.md

File metadata and controls

50 lines (31 loc) · 1.57 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Fixed

  • Add parsing support for format and raw (f/r) triple-quoted strings.

Fixed

  • Version was not correctly updated in 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 character 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.

Fixed

  • f-strings with triple quotes are now correctly handled [#55]

Added

  • First release - so everything you see is new!