Daemon to automatically run black, the uncompromising code formatter.
Project description
A daemon to automatically run the Uncompromising Code Formatter black
by watching a directory or file for changes.
Installation
pip install blackdaemon
Use
blackdaemon <directory or file>
API
>> python blackdaemon.py --help
usage: blackdaemon.py [-h] [--recursive | --non-recursive] [--no-run-on-start]
[-v] [-q]
[path]
positional arguments:
path path of file or directory to watch for changes
optional arguments:
-h, --help show this help message and exit
--recursive recursively watch director for changes (default)
--non-recursive
--no-run-on-start run black only when files change, not on startup.
-v, --version print version of blackdaemon and black, then exit
-q, --quiet don't emit non-error messages to stderr. Errors are still
emitted, silence those with 2>/dev/null
Homepage
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
blackdaemon-0.1.0.0.tar.gz
(2.2 kB
view details)
Built Distribution
File details
Details for the file blackdaemon-0.1.0.0.tar.gz
.
File metadata
- Download URL: blackdaemon-0.1.0.0.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 335dbfa8c63ce15442e2d35cd103b765759cc81ca21c15207df76c8be0966a97 |
|
MD5 | 8a98aed12e241f5025321cf8fb74a9fb |
|
BLAKE2b-256 | 47ace8c6301d88239c13df80cde425212a40e03991f3613ab0f1d46464025830 |
File details
Details for the file blackdaemon-0.1.0.0-py2.py3-none-any.whl
.
File metadata
- Download URL: blackdaemon-0.1.0.0-py2.py3-none-any.whl
- Upload date:
- Size: 2.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2b3da98a16705416a74ea117cd7f4e060a26eb11455aa32371f54f05d91b543 |
|
MD5 | e920a49f2834439e3d60dcbbf5c57dbf |
|
BLAKE2b-256 | a1f27cdd1f37079c6260f928ac9823ba546782c6e391949a3f1d5c8d9a804681 |