Skip to main content

Omni formatter. A formatter for everything.

Project description

ofmt

Lint Test Release PyPI

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. A bundled .sqlfluff config enforces lowercase keywords by default; after fixing, sqlfluff lints to catch any remaining violations.

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.2.0.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ofmt-1.2.0-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file ofmt-1.2.0.tar.gz.

File metadata

  • Download URL: ofmt-1.2.0.tar.gz
  • Upload date:
  • Size: 2.8 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

Hashes for ofmt-1.2.0.tar.gz
Algorithm Hash digest
SHA256 26c5f796e8246e2d3d1598c56bad07daa40d944801b668d1829fa652685dc00f
MD5 a8b382dec84e9eefd92fe6ee6ddb41e6
BLAKE2b-256 351516a25553e041e57808f03ccce0735396c4dda7f53a4a805eebe5cfbfa706

See more details on using hashes here.

File details

Details for the file ofmt-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: ofmt-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 3.2 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

Hashes for ofmt-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0d2474efc2d331f4cbef414c4966a8fdb1ecdb1936a480732e64b99378511d1e
MD5 12a0f2c064a62e4e0044fe983a7933eb
BLAKE2b-256 eb983b4c772ab246b2c691ded8745a7c1eee818d02c1d44a719c6aaed1e9c59b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page