{"categories":[{"label":"Quality Assurance","url":"https://skillfed.io/packages/category/software-development-quality-assurance/3"}],"enrichment":{"capability":"Darker reformats Python source code in Git repositories, but only applies changes to regions that have been modified since a specified revision, using Black, Ruff, isort, flynt, or pyupgrade as the underlying formatter.","skillfed_tags":["git-aware","incremental-formatting","code-quality"],"use_cases":["Gradually adopt Black or Ruff formatting in an existing codebase without a single massive reformatting commit.","Contribute to upstream projects with different style standards by formatting only your own changes.","Combine import sorting (isort) and f-string conversion (flynt) with selective code formatting on modified lines.","Integrate formatting into CI/CD to enforce style only on new or changed code, not the entire repository.","Use as a pre-commit hook to automatically format only the lines you've edited before committing."],"what_it_does":"Darker is a Git-aware Python code formatter that applies reformatting selectively to only the lines you've changed since a prior commit or revision. It sits between your version control system and formatters like Black or Ruff, solving the problem of introducing formatting-only commits that clutter history and blame attribution. Instead of reformatting an entire codebase in one giant commit, you can reformat incrementally as you touch code for other reasons\u2014useful when adopting a new style in an existing project or contributing to upstream codebases you don't fully control.\n\nThe package wraps multiple formatting tools (Black, Ruff formatter, isort for imports, flynt for f-string conversion, and pyupgrade for syntax upgrades) and applies them only to Git-detected changes. It compares the working tree against a baseline revision, identifies which lines have been modified, and reformats only those regions. As of version 3.0.0, Black is no longer bundled by default; you install formatters as optional dependencies. The tool runs as a command-line utility or Python module and integrates with pre-commit hooks and pytest plugins.","worth_installing":"Yes, if you need selective code formatting in a Git workflow. The low install friction, permissive license, and stable maintenance make it a practical choice for teams adopting formatters incrementally. Skip it if you prefer whole-codebase reformatting or are starting a project from scratch\u2014use Black or Ruff directly instead. The 347-day gap since last release is not a red flag given the repository's continued activity and clear scope, but verify that the aging status doesn't signal reduced support for your specific use case."},"id":"darker","links":{"html":"https://skillfed.io/packages/darker","md":"https://skillfed.io/packages/darker.md","pypi":"https://pypi.org/project/darker/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2025-09-01","license_spdx":null,"license_treatment":"permissive","name":"darker","python_support":"supports_current","summary":"Apply Black formatting only in regions changed since last commit"},"popularity":{"monthly_downloads":219666,"position":9321,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"3.0.0"}
