Skip to main content

Kuro

Run Black (Python code formatter) only on Git unstaged/untracked files

Code style: black

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)

Metadata

Release files for kuro 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for kuro 0.0.3
File Size Uploaded
kuro-0.0.3.tar.gz 14.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for kuro 0.0.3
File Interpreter ABI Platform
kuro-0.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 55.3 kB

Release files / kuro-0.0.3.tar.gz

Download URL kuro-0.0.3.tar.gz
Size 14.9 kB
Tags Source
SHA-256 checksum
How to use checksums
f45604f29d911d3a887c7baac6e9e32cd73504034e398c2b6b559453b0adaeaf
BLAKE2b-256 checksum
How to use checksums
70cc5e2f715e1fa261ed823b290f3a5ce41ecaf67ab0cc4c7beace71c8405376
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/0.12.4 CPython/3.6.7 Linux/4.13.0-46-generic

Release files / kuro-0.0.3-py3-none-any.whl

Download URL kuro-0.0.3-py3-none-any.whl
Size 40.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b3ac375363723532a36d386d6db52ec458206bfc87f47085dc376c45a5dfeefd
BLAKE2b-256 checksum
How to use checksums
dbfc8ae65060426d245cb7ff27f1e967a692259160cea2e2ac7802315b7f5820
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/0.12.4 CPython/3.6.7 Linux/4.13.0-46-generic

Release history Release notifications | RSS feed

This release

0.0.3 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page