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.1.0.tar.gz
(2.7 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.1.0-py3-none-any.whl
(3.1 kB
view details)
File details
Details for the file ofmt-1.1.0.tar.gz.
File metadata
- Download URL: ofmt-1.1.0.tar.gz
- Upload date:
- Size: 2.7 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 |
b4e62ab4794f135bb955fd5182a05094121d1ef2ea1300691d11220321e1754e
|
|
| MD5 |
c5a7ab4251513c6f930bdfccc3366a98
|
|
| BLAKE2b-256 |
6394b8098cc5b67ed57d9cbd86833859118fae743a49ffb2b5d6daf6c4f58593
|
File details
Details for the file ofmt-1.1.0-py3-none-any.whl.
File metadata
- Download URL: ofmt-1.1.0-py3-none-any.whl
- Upload date:
- Size: 3.1 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 |
f4fcdd99df6d0ad0bbb31aec2681799bc7c8ae8822229015b5ab1ae481514b4c
|
|
| MD5 |
97abe3748b7f0358c5cc47f63033157d
|
|
| BLAKE2b-256 |
4e7dd5837087b08f21bdd9fa57b90668edc7a883fe844508fbcf192a78bb8f3b
|