Skip to main content

Daemon to automatically run black, the uncompromising code formatter.

Project description

Code style: black

A daemon to automatically run the Uncompromising Code Formatter black by watching a directory or file for changes.


pip install blackdaemon


blackdaemon <directory or file>


>> python --help
usage: [-h] [--recursive | --non-recursive] [--no-run-on-start]
                      [-v] [-q]

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)
  --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


Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for blackdaemon, version
Filename, size File type Python version Upload date Hashes
Filename, size blackdaemon- (2.2 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size blackdaemon- (2.2 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page