A slightly more compromising Python code formatter, based on the latest stable release of Black.
Differences from Black
- The default line length is 99 instead of 88 (configurable with
- Single quoted strings are preferred (configurable with
- Empty lines between
defs are treated no differently from other code. The old behavior, which sometimes inserts double empty lines between them, remains available via
Read up on Black, but replace
lavender in your
Lavender is Copyright (c) 2019 Michael Smith <firstname.lastname@example.org>
Black, the software on which it was based, is Copyright (c) 2018 Łukasz Langa
This program is free software: you can redistribute it and/or modify it under the terms of the MIT License.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MIT License for more details.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this work by you shall be licensed as above, without any additional terms or conditions.