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.1.1.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.1.1-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ofmt-1.1.1.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.1.1.tar.gz
Algorithm Hash digest
SHA256 9044d135c6f374330a2c7344d191a7fa7faab5bc94e0e7cb94e7a5f751562879
MD5 e76e7176b79574ca2d60b972622f7725
BLAKE2b-256 390fdaf2cf58fde12768805ac44d4590423aac0a876224636fe0c1f010216af5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ofmt-1.1.1-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

Hashes for ofmt-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5471731abc9ca06586223793289c61d647b678f01475fbaaf77a394590559508
MD5 59ac01985e463919aebee03199fc5a2f
BLAKE2b-256 51a7dd68cc23b33483a09cb722749b0d225ea733ffe1d7369968d97f6d0da12a

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