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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file blue-chip-0.0.9.tar.gz.

File metadata

  • Download URL: blue-chip-0.0.9.tar.gz
  • Upload date:
  • Size: 11.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.10.4 Darwin/21.5.0

File hashes

Hashes for blue-chip-0.0.9.tar.gz
Algorithm Hash digest
SHA256 670b60ee1858386c7c3e78775f7e085a55edabe30d6c0169271632110ff6d174
MD5 ef0977435164e60f3febee8961c0e57d
BLAKE2b-256 9ad0495086da6f2ffa3ed33133ece324a2fbd9dcd8816b43ea112fd0421b0c1f

See more details on using hashes here.

File details

Details for the file blue_chip-0.0.9-py3-none-any.whl.

File metadata

  • Download URL: blue_chip-0.0.9-py3-none-any.whl
  • Upload date:
  • Size: 13.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.10.4 Darwin/21.5.0

File hashes

Hashes for blue_chip-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 d26a4dfc89db0b08f99705c9d0408f23d5262753379e42834efa99810ba90f15
MD5 0a956343af857e47fc2b6c77f6df82f0
BLAKE2b-256 f7f3f5c37ae2401c9431ecc6893b1e4fc78360a2276b5339cbabe9a5a6735c8d

See more details on using hashes here.

Supported by

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