{"categories":[{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/3"}],"enrichment":{"capability":"ufmt combines black and \u00b5sort into a single atomic formatting pass, sorting imports and then formatting code in one operation before writing to disk.","skillfed_tags":["code-formatting","ci-cd"],"use_cases":["Enforce consistent Python formatting in CI/CD without conflicts between separate formatting steps.","Set up pre-commit hooks to automatically format code before commits with atomic changes.","Validate that files are properly formatted in pull requests using the check or diff modes.","Use as the default formatter in VS Code for automatic formatting on save.","Pin transitive dependencies in requirements files to ensure reproducible formatting across environments."],"what_it_does":"ufmt is a Python code formatter that wraps black and \u00b5sort, running both tools in a single atomic operation. It formats files in-memory, first with \u00b5sort and then with black, before writing changes back to disk. This design prevents conflicts or intermediate states that can occur when running these tools separately in CI/CD pipelines.\n\nThe package is built for developers who want consistent, minimal diffs and safe handling without the risk of competing tools making conflicting changes. It integrates with GitHub Actions, pre-commit hooks, and Visual Studio Code, and supports checking, formatting, and diff-generation modes for different workflow needs.","worth_installing":"Yes. ufmt solves a real problem\u2014atomic, conflict-free formatting in CI workflows\u2014with low install friction, active maintenance, no known vulnerabilities, and a permissive license. It is well-integrated into common development tools and suitable for teams that want safe, predictable formatting."},"id":"ufmt","links":{"html":"https://skillfed.io/packages/ufmt","md":"https://skillfed.io/packages/ufmt.md","pypi":"https://pypi.org/project/ufmt/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-02-08","license_spdx":null,"license_treatment":"permissive","name":"ufmt","python_support":"supports_current","summary":"Safe, atomic formatting with black and \u00b5sort"},"popularity":{"monthly_downloads":2337651,"position":3127,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"2.9.1"}
