Skip to content
This repository has been archived by the owner on Dec 3, 2022. It is now read-only.

Kilo59/blue-chip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.