{"added":null,"apiVersion":1,"behindSince":null,"buildDepends":[],"categories":["devel","python"],"comment":"Sqlfmt formats your dbt SQL files so you don't have to","compare":null,"dependentCount":null,"description":"sqlfmt formats your dbt SQL files so you don't have to. It is similar\nin nature to black, gofmt, and rustfmt (but for SQL).\n\nsqlfmt promotes collaboration. An auto-formatter makes it easier to\ncollaborate with your team and solicit contributions from new\npeople. You will never have to mention (or argue about) code style in\ncode reviews again.\nsqlfmt is fast. Forget about formatting your code, and spend your time\non business logic instead. sqlfmt processes hundreds of files per\nsecond and only operates on files that have changed since the last\nrun.\nsqlfmt works with Jinja. It formats the code that users look at, and\ntherefore doesn't need to know anything about what happens after the\ntemplates are rendered.\nsqlfmt integrates with your workflow. As a CLI written in Python, it's\neasy to install locally on any OS and run in CI. Plays well with dbt,\npre-commit, SQLFluff, VSCode, and GitHub Actions. sqlfmt powers the\ndbt Cloud IDE's Format button.\nsqlfmt is not configurable, except for line length. It enforces a\nsingle style. sqlfmt maintains comments and some extra newlines, but\nlargely ignores all indentation and line breaks in the input file.\n\nsqlfmt is not a linter. It does not parse your code into an AST; it\njust lexes it and tracks a small subset of tokens that impact\nformatting. This lets us \"do one thing and do it well:\" sqlfmt is very\nfast, and easier to maintain and extend than linters that need a full\nSQL grammar.\n\nFor now, sqlfmt only works on select, delete, grant, revoke, and\ncreate function statements (which is all you need if you use sqlfmt\nwith a dbt project). It is being extended to additional DDL and\nDML. Visit this tracking issue for more information.","flavors":[],"html":"https://daemonports.org/dragonfly/devel/py-shandy-sqlfmt/","kind":"port","lastUpdate":null,"license":["APACHE20"],"licenses":["Apache-2.0"],"maintainer":"ume@FreeBSD.org","name":"py312-shandy-sqlfmt","newest":true,"newestVersion":"0.32.0","noVulnData":false,"origin":"devel/py-shandy-sqlfmt","otherSystems":[{"maintainer":"ume@FreeBSD.org","newest":true,"origin":"devel/py-shandy-sqlfmt","path":"/devel/py-shandy-sqlfmt/","system":"FreeBSD","updated":"2026-10-18","version":"0.32.0_1"},{"maintainer":"ume@FreeBSD.org","newest":true,"noVulnData":true,"origin":"devel/py-shandy-sqlfmt","path":"","system":"HardenedBSD","version":"0.32.0_1"},{"maintainer":"ume@FreeBSD.org","newest":true,"noVulnData":true,"origin":"devel/py-shandy-sqlfmt","path":"","system":"GhostBSD","version":"0.32.0_1"}],"packages":null,"pkgName":"py312-shandy-sqlfmt-0.32.0","related":null,"repository":"DPorts","requiredBy":["databases/py-harlequin"],"requiredByCount":1,"runDepends":["devel/py-Jinja2","devel/py-black","devel/py-click","devel/py-platformdirs","lang/python312","misc/py-tqdm"],"status":null,"system":"dragonfly","systemLabel":"DragonFly","version":"0.32.0","versions":[{"date":"2026-11-11","version":"0.32.0"}],"vulnerabilities":null,"www":"https://sqlfmt.com"}
