One click Python code quality package
Project description
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
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
670b60ee1858386c7c3e78775f7e085a55edabe30d6c0169271632110ff6d174
|
|
| MD5 |
ef0977435164e60f3febee8961c0e57d
|
|
| BLAKE2b-256 |
9ad0495086da6f2ffa3ed33133ece324a2fbd9dcd8816b43ea112fd0421b0c1f
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d26a4dfc89db0b08f99705c9d0408f23d5262753379e42834efa99810ba90f15
|
|
| MD5 |
0a956343af857e47fc2b6c77f6df82f0
|
|
| BLAKE2b-256 |
f7f3f5c37ae2401c9431ecc6893b1e4fc78360a2276b5339cbabe9a5a6735c8d
|