Skip to main content

Google/Excel Sheets API Python.

Project description

brunette

PyPI version

This is the black formatter but with some improvements:

  1. --config option supports setup.cfg format.
  2. Adds single-quotes option to enable single quotes as the preferred.

Installation

pip install brunette

Usage

Use in the same way you would the 'black' formatter.

brunette *.py --config=setup.cfg

Example setup.cfg:

[tool:brunette]
line-length = 79
verbose = true
single-quotes = false

Why does this need to exist?

  • The current maintainer of black, refuses to allow a single-quotes option. Due to his own personal preference (a preference which most of the Python community do not share).

  • The current maintainer of black, refuses to add setup.cfg support. Setup.cfg is the most widely used configuration file for Python projects. The maintainer of that library prefers "project.tolm" few people use at this time due to it's inflexibility and it requiring you to use Peotry, whatever that is.

Release History

0.1.3 (2020-06-16)

  • Handle when setup.cfg is missing.

0.1.2 (2020-06-16)

  • Added __main__ for CLI exec.

0.1.1 (2020-06-15)

  • Adds wheels.

0.1.0 (2020-06-15)

  • Initial release.

Project details


Download files

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

Source Distribution

brunette-0.1.3.tar.gz (4.0 kB view hashes)

Uploaded Source

Built Distribution

brunette-0.1.3-py2.py3-none-any.whl (4.2 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page