Omni formatter. A formatter for everything.
Project description
ofmt
Omni formatter. A formatter for everything.
Usage
Format specific files:
uvx ofmt {files}
Walk the current working directory:
uvx ofmt
Formatters
| extension | formatter |
|---|---|
| c, h, cpp, cc | clang-format |
| js, ts, jsx, tsx, html, css, json, jsonc | biome |
| md, yaml, yml | prettier |
| toml | taplo |
| sh, bash | shfmt |
| sql | sqlfluff |
| py | black |
Formatters are downloaded as needed. A bundled .prettierrc.json is used when no project-level prettier config is found.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ofmt-1.0.0.tar.gz
(2.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
ofmt-1.0.0-py3-none-any.whl
(2.9 kB
view details)
File details
Details for the file ofmt-1.0.0.tar.gz.
File metadata
- Download URL: ofmt-1.0.0.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fea7408296a95a5a7d574670c9fa9e2715e054ba4f0744d7608d0b859097fa1d
|
|
| MD5 |
1183f3a7a064a063ab44e4d62f3af14d
|
|
| BLAKE2b-256 |
ed7ff91ac87457fdf00b25886bea4f1eb918e572e43fee8cc88be8516414c1ef
|
File details
Details for the file ofmt-1.0.0-py3-none-any.whl.
File metadata
- Download URL: ofmt-1.0.0-py3-none-any.whl
- Upload date:
- Size: 2.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dd18278051ba80ef0eed93036ff0982410a91019dd6e06c21a13c48235139c6e
|
|
| MD5 |
db0c86075d4684ca3251b1cbe9975a1b
|
|
| BLAKE2b-256 |
13e8b4743c26e97ec0fd94b98e059c62efc8c85ea6e33c7f935f77e3b23e6b91
|