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-delimited parameters and arguments include a trailing comma
Ensures that all logical clauses are line-delimited in any are
Reverts splits for empty parens
- Fine-grained control over line splitting for:
parameters
arguments
list items
dict items
tuple items
Fixes inconsistencies 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.0b1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 14a5e1e2e429b554c4a19c90ff524a429c88425dbd38830cec2cc6baaa38aaa0 |
|
MD5 | 52a60e19daf3a3b86ae475dc59ca0671 |
|
BLAKE2b-256 | 06bf89e6c3149e773a6ace02021b664d0b87f0a31dd24c3392713c1dd62f7716 |