Run Black (Python code formatter) only on Git unstaged/untracked files
Project description
Kuro
Run Black (Python code formatter) only on Git unstaged/untracked files
Requirements
Usage
Usage: kuro [OPTIONS]
Options:
--diff Create a diff of the changes, in a 'kuro.diff' file. If
you approve the changes, run kuro with --apply_diff.
--apply_diff Consume (and delete) an existing 'kuro.diff' file.
--project_options Setup options for Kuro/Black on a directory level.
--help Show this message and exit.
If you so desire, you can set a different Kuro/Black configuration on a global level by exporting an environment variable called KURO_BLACK_OPTIONS
.
Kuro will prioritize using project options over using global options.
If no global or local options are set, Kuro will just run Black normally.
TODO List
- Validation of Black settings saved on
.kuro_config
file - Fix applying patch file (slightly broken at the moment)
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
kuro-0.0.3.tar.gz
(14.9 kB
view details)
Built Distribution
kuro-0.0.3-py3-none-any.whl
(40.3 kB
view details)
File details
Details for the file kuro-0.0.3.tar.gz
.
File metadata
- Download URL: kuro-0.0.3.tar.gz
- Upload date:
- Size: 14.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/0.12.4 CPython/3.6.7 Linux/4.13.0-46-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f45604f29d911d3a887c7baac6e9e32cd73504034e398c2b6b559453b0adaeaf |
|
MD5 | fec22386d5425824c9481213906253af |
|
BLAKE2b-256 | 70cc5e2f715e1fa261ed823b290f3a5ce41ecaf67ab0cc4c7beace71c8405376 |
File details
Details for the file kuro-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: kuro-0.0.3-py3-none-any.whl
- Upload date:
- Size: 40.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/0.12.4 CPython/3.6.7 Linux/4.13.0-46-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b3ac375363723532a36d386d6db52ec458206bfc87f47085dc376c45a5dfeefd |
|
MD5 | e5b7257987d5748ddb0e52f685c71748 |
|
BLAKE2b-256 | dbfc8ae65060426d245cb7ff27f1e967a692259160cea2e2ac7802315b7f5820 |