{"added":null,"apiVersion":1,"behindSince":null,"buildDepends":[],"categories":["devel","python"],"comment":"Safe, atomic formatting with black and usort","compare":null,"dependentCount":null,"description":"ufmt is a safe, atomic code formatter for Python built on top of black and\nusort:\n- Black makes code review faster by producing the smallest diffs possible.\n  Blackened code looks the same regardless of the project you're reading.\n- usort is a safe, minimal import sorter. Its primary goal is to make no\n  \"dangerous\" changes to code, and to make no changes on code style.\n\nufmt formats files in-memory, first with usort and then with black, before\nwriting any changes back to disk. This enables a combined, atomic step in CI/CD\nworkflows for checking or formatting files, without any chance of conflict or\nintermediate changes between the import sorter and the code formatter.","flavors":[],"html":"https://daemonports.org/dragonfly/devel/py-ufmt/","kind":"port","lastUpdate":null,"license":["MIT"],"maintainer":"sunpoet@FreeBSD.org","name":"py311-ufmt","newest":false,"newestVersion":"2.9.1","noVulnData":false,"origin":"devel/py-ufmt","otherSystems":[{"maintainer":"sunpoet@FreeBSD.org","newest":true,"origin":"devel/py-ufmt","path":"/devel/py-ufmt/","system":"FreeBSD","version":"2.9.1_1"},{"maintainer":"sunpoet@FreeBSD.org","newest":true,"noVulnData":true,"origin":"devel/py-ufmt","path":"","system":"HardenedBSD","version":"2.9.1_1"},{"maintainer":"sunpoet@FreeBSD.org","newest":true,"noVulnData":true,"origin":"devel/py-ufmt","path":"","system":"GhostBSD","version":"2.9.1_1"}],"packages":null,"pkgName":"py311-ufmt-2.8.0","related":null,"repository":"DPorts","requiredBy":[],"requiredByCount":0,"runDepends":["devel/py-black","devel/py-click","devel/py-libcst","devel/py-moreorless","devel/py-trailrunner","devel/py-typing-extensions","devel/py-usort","lang/python311","textproc/py-tomlkit"],"status":null,"system":"dragonfly","systemLabel":"DragonFly","version":"2.8.0","versions":null,"vulnerabilities":null,"www":"https://ufmt.omnilib.dev/en/stable/"}
