Skip to main content

Formats Python code using Black ( plus enhancements.

Project description

Formats Python code using 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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for CommonEnvironment-Formatter, version 0.5.0b1
Filename, size File type Python version Upload date Hashes
Filename, size CommonEnvironment-Formatter-0.5.0b1.tar.gz (18.5 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page