Omni formatter. A formatter for everything.
Project description
ofmt
Omni formatter. A formatter for everything.
Formatters
This project includes and calls the following formatters as appropriate:
| extension | formatter |
|---|---|
| c | clang-format -i {files} |
| h | clang-format -i {files} |
| cpp | clang-format -i {files} |
| cc | clang-format -i {files} |
| js | npx prettier --write {files} |
| html | npx prettier --write {files} |
| css | npx prettier --write {files} |
| py | uvx black |
Most formatters are downloaded as needed by their respective package managers. The clang-format binary is included as part of the resources of this package and used from there automatically.
Usage
uvx ofmt {files}
or to walk the current working directory:
uvx ofmt
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
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
File details
Details for the file ofmt-0.1.1.tar.gz.
File metadata
- Download URL: ofmt-0.1.1.tar.gz
- Upload date:
- Size: 2.1 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 |
3408e0e7f4dc02053dc2f7bc948eaeff751305217127d8f405a25b4b2976ae4c
|
|
| MD5 |
4d4675bb20ebf2c2ff53bc5dfb825b80
|
|
| BLAKE2b-256 |
fadb2a71ff4707110a17ab71f268c37b3284365d15eb776082bc5182525f38d1
|
File details
Details for the file ofmt-0.1.1-py3-none-any.whl.
File metadata
- Download URL: ofmt-0.1.1-py3-none-any.whl
- Upload date:
- Size: 2.5 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 |
640334632e4308299c1056ab1168ca354d2045d0f14b94c83033edbaf824a7c7
|
|
| MD5 |
00306131f27a78c3901a53914537e33d
|
|
| BLAKE2b-256 |
d7eb60f37ed930f2791a85094aec2c6c6de34c1a302d90fdbf9b2488da861602
|