Formats Python code using Black (https://github.com/ambv/black) plus enhancements.
Project description
Formats Python code using Black (https://github.com/ambv/black) plus enhancements:
Aligns assignments within a block
Aligns trailing comments within a block
Ensures that all line-delimied parameters and arguments include a trailing comma
Reverts splits for empty parens
- Fine-grained control over line splitting for:
parameters
arguments
list items
dict items
tuple items
Fixes inconsitencies with textwrap.dedent and multiline strings
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for CommonEnvironment-Formatter-0.5.0a3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c8d3af9f47fb70471182ed2cd4172bcd29e0c65bd2fc5d52c448388cdaaa598 |
|
MD5 | fb50e33ab066f6ed9a023d4bb8d1b82c |
|
BLAKE2b-256 | ae56b346105769db516fa22f74fea10c0138108ff1b650506f13789d09a5dc66 |