Automic VaultAutomic Vault

brew

Install darker with Homebrew

Apply Black formatting only in regions changed since last commit. Version 3.0.0 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install darker

local Homebrew formula metadata

overview

Package summary

Apply Black formatting only in regions changed since last commit

Commands and aliases

  • darker

history

Project history and usage

Darker is a Python formatting tool that applies Black-style formatting only to regions changed between Git revisions or in a working tree.

Project history

The README explains Darker as a response to a common adoption problem for Black: teams often want consistent formatting without one large repository-wide reformat. Darker compares revisions, formats with Black or another supported formatter, and writes back only the changed regions.

Adoption history

Darker's official docs document installation from PyPI, conda-forge availability, editor integrations, pre-commit usage, and a GitHub Action. The changelog records early 2020 releases, a 1.0.0 release in July 2020, conda-forge availability in 1.2.2, support for plain directories in 1.4.0, and a 3.0.0 release that added Ruff formatter support while moving linting to Graylint.

How it is used

Users typically run darker on files or directories inside a Git repository, optionally selecting a revision range, showing a diff, or configuring behavior through pyproject.toml under tool.darker.

Why package nerds care

Darker matters to Python package maintainers because it is about incremental formatter adoption: it reduces formatting churn in old codebases while still letting projects standardize on tools such as Black, Ruff, isort, flynt, and pyupgrade.

Timeline

  • 2020: 0.1.0 and 1.0.0 were released.
  • 2020: 1.2.2 added conda-forge availability.
  • 2022: 1.4.0 added support for plain directories outside Git repositories.
  • 2025: 3.0.0 added Ruff formatter support and changed default formatter dependencies.

Related projects

  • The README points to Black, Ruff, isort, flynt, pyupgrade, pytest-darker, Graylint, pre-commit, and the Darker GitHub Action as adjacent tools and integrations.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 1 runtime dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
pyproject.toml

executables

Installed executables

CommandKindExposureNote
darkercliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version3.0.0
manager updated
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/akaihola/darker

  • infoNo package-manager update timestamp was available.low confidence
  • infoNo cached GitHub release or tag data was available.https://github.com/akaihola/darkernone confidence

install metadata

Package metadata

Package keybrew:darker
Version3.0.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/darker
Homepagehttps://github.com/akaihola/darker
Repositoryhttps://github.com/akaihola/darker
Upstream docshttps://github.com/akaihola/darker
LicenseBSD-3-Clause
Source archivehttps://files.pythonhosted.org/packages/df/78/ad6af1661c2eca0ec69b7ff7c99d95dcae29c5e0071c7ebc98e6670f4663/darker-3.0.0.tar.gz
Dependenciespython@3.14
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namedarker
Version Scheme0
Revision1
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • package relationship graph
  • package version freshness
  • package-page enrichment