Skip to main content

One click Python code quality package

Project description

PyPI version Build Status Coverage Status Language grade: Python Total alerts Code style: black

blue-chip

One click Python code quality package

blue-chip uses black, isort, invoke and prospector configured to work well together out of the box.


Install

The recommended installation method when installing globally is to use pipx

pipx install blue-chip

Otherwise (for best results) use pip to install directly into your project's virtual environment.

pip install blue-chip

Using poetry.

poetry add --dev blue-chip

Using pipenv you need to pin the version.

pipenv install --dev blue-chip==0.0.8

Command-line use

List the possible blue-chip commands with bc --list

$bc --list

Subcommands:

  fmt    Format python source code.
  lint   Run static analysis on python source code.
  sort   Sort module imports.

Enterprise use

Enterprise teams may find it useful to fork and redistribute this package with their own custom defined standards.

In many cases this is a simple as changing the package name and values in blue_chip/constants.py.

For fine grain control of the static analysis tools, edit the prospector profiles in blue_chip/config.

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

blue-chip-0.0.9.tar.gz (11.7 kB view hashes)

Uploaded source

Built Distribution

blue_chip-0.0.9-py3-none-any.whl (13.1 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page