macOS
brew install darkerlocal Homebrew formula metadata
安装
brew install darkerlocal Homebrew formula metadata
概览
Apply Black formatting only in regions changed since last commit
历史
Darker is a Python formatting tool that applies Black-style formatting only to regions changed between Git revisions or in a working tree.
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.
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.
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.
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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
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.
Config paths the tool may read or write during local use.
pyproject.toml可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
darker | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/akaihola/darker
安装元数据
| 软件包键 | brew:darker |
|---|---|
| 版本 | 3.0.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/darker |
| 主页 | https://github.com/akaihola/darker |
| 仓库 | https://github.com/akaihola/darker |
| 上游文档 | https://github.com/akaihola/darker |
| 许可证 | BSD-3-Clause |
| 源码归档 | https://files.pythonhosted.org/packages/df/78/ad6af1661c2eca0ec69b7ff7c99d95dcae29c5e0071c7ebc98e6670f4663/darker-3.0.0.tar.gz |
| 最后更新 | 2026-07-13T14:12:41Z |
| Pulse | updated |
| 依赖 | python@3.14 |
| 构建依赖 | rust |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | darker |
| Version Scheme | 0 |
| Revision | 2 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.