promformat logo

promformat

MaintainedMaintained

Promformat is a PromQL formatter written in Python.

Tutorials / Guides

  • promformat screenshot

37 Alternatives for promformat

autopep8

A tool that automatically formats Python code to conform to the PEP 8 style guide. It uses the pycodestyle utility to determine what parts of the code needs to be formatted.

  • MaintainedMaintained
  • MaintainedPython
  • Maintainedcli
  • Maintainedformatter
  • 0% upvoted

Black

The uncompromising Python code formatter.

  • MaintainedMaintained
  • MaintainedPython
  • Maintainedcli
  • Maintainedformatter
  • 86% upvoted

brittany

Haskell source code formatter

  • DeprecatedDeprecated
  • DeprecatedHaskell
  • Deprecatedcli
  • Deprecatedformatter
  • 100% upvoted

ciocheck

Linter, formatter and test suite helper. As a linter, it is a wrapper around pep8, pydocstyle, flake8, and pylint.

  • DeprecatedDeprecated
  • DeprecatedPython
  • Deprecatedcli
  • DeprecatedformatterDeprecatedmeta
  • 33% upvoted

collector

Run arbitrary scripts inside containers, and gather useful information.

  • DeprecatedDeprecated
  • DeprecatedMulti-Language
  • Deprecatedcli
  • Deprecatedformatter
  • 0% upvoted

CSScomb

A coding style formatter for CSS. Supports own configurations to make style sheets beautiful and consistent.

  • MaintainedMaintained
  • MaintainedMulti-Language
  • Maintainedcli
  • Maintainedformatter
  • 0% upvoted

diktat

Strict coding standard for Kotlin and a linter that detects and auto-fixes code smells.

  • DeprecatedDeprecated
  • DeprecatedKotlin
  • Deprecatedcli
  • DeprecatedlinterDeprecatedformatter
  • 87% upvoted

ERB::Formatter

Format ERB files with speed and precision.

  • MaintainedMaintained
  • MaintainedRuby
  • Maintainedcli
  • Maintainedformatter
  • 0% upvoted

fantomas

F# source code formatter.

  • MaintainedMaintained
  • MaintainedFsharp
  • Maintainedcli
  • Maintainedformatter
  • 0% upvoted

Frink

A Tcl formatting and static check program (can prettify the program, minimise, obfuscate or just sanity check it).

  • MaintainedMaintained
  • MaintainedTcl
  • Maintainedcli
  • Maintainedformatter
  • 0% upvoted

Gendarme

Gendarme inspects programs and libraries that contain code in ECMA CIL format (Mono and .NET).

  • MaintainedMaintained
  • MaintainedCsharp
  • Maintainedcli
  • Maintainedformatter
  • 0% upvoted

gofmt -s

Checks if the code is properly formatted and could not be further simplified.

  • MaintainedMaintained
  • MaintainedGo
  • Maintainedcli
  • MaintainedlinterMaintainedformatter
  • 81% upvoted

gofumpt

Enforce a stricter format than gofmt, while being backwards-compatible. That is, gofumpt is happy with a subset of the formats that gofmt is happy with. The tool is a fork of gofmt as of Go 1.19, and requires Go 1.18 or later. It can be used as a drop-in replacement to format your Go code, and running gofmt after gofumpt should produce no changes. gofumpt will never add rules which disagree with gofmt formatting. So we extend gofmt rather than compete with it.

  • MaintainedMaintained
  • MaintainedGo
  • MaintainedcliMaintainedide-plugin
  • Maintainedformatter
  • 50% upvoted

google-java-format

Reformats Java source code to comply with Google Java Style

  • MaintainedMaintained
  • MaintainedJava
  • MaintainedcliMaintainedide-plugin
  • Maintainedformatter
  • 100% upvoted

htmlbeautifier

A normaliser/beautifier for HTML that also understands embedded Ruby. Ideal for tidying up Rails templates.

  • MaintainedMaintained
  • MaintainedRuby
  • Maintainedcli
  • Maintainedformatter
  • 0% upvoted

ktfmt

A program that reformats Kotlin source code to comply with the common community standard for Kotlin code conventions. A ktfmt IntelliJ plugin is available from the plugin repository. To install it, go to your IDE's settings and select the Plugins category. Click the Marketplace tab, search for the ktfmt plugin, and click the Install button.

  • MaintainedMaintained
  • MaintainedKotlin
  • MaintainedcliMaintainedide-plugin
  • Maintainedformatter
  • 0% upvoted

ktlint

An anti-bikeshedding Kotlin linter with built-in formatter.

  • MaintainedMaintained
  • MaintainedKotlin
  • Maintainedcli
  • MaintainedlinterMaintainedformatter
  • 100% upvoted

mago

Mago is a complete toolchain for PHP, written in Rust, designed from the ground up for maximum performance.

  • ✨ A blazing-fast formatter that automatically formats your code according to PER-CS, ending style debates forever. - 🔎 An intelligent linter that catches stylistic issues, inconsistencies, and code smells before they become problems. - 🔬 A powerful static analyzer that finds type errors and logical bugs in your code without you ever having to run it. - 🛡️ A robust architectural guard that enforces dependency rules and structural conventions.
  • MaintainedMaintained
  • MaintainedPhp
  • Maintainedcli
  • MaintainedlinterMaintainedformatter
  • 0% upvoted

mbake

mbake is a Makefile formatter and linter. It only took 50 years!

  • MaintainedMaintained
  • MaintainedPython
  • Maintainedcli
  • MaintainedlinterMaintainedformatter
  • 0% upvoted

mdformat

CommonMark compliant Markdown formatter

  • MaintainedMaintained
  • MaintainedMulti-Language
  • Maintainedcli
  • Maintainedformatter
  • 100% upvoted

mdsf

Format markdown code blocks using your favorite code formatters.

  • MaintainedMaintained
  • MaintainedMulti-Language
  • Maintainedcli
  • Maintainedformatter
  • 100% upvoted

MISS_HIT

MISS_HIT is a free, open-source code quality toolset for MATLAB, Simulink, and Octave. It includes MH Style (style checker and formatter), MH Metrics (complexity metrics), MH Lint (static analysis), MH Trace (requirements traceability), and MH Copyright (copyright management). Designed to work standalone without requiring MATLAB/Octave installation.

  • DeprecatedDeprecated
  • DeprecatedMatlab
  • Deprecatedcli
  • DeprecatedlinterDeprecatedformatter
  • 0% upvoted

perltidy

Perltidy is a Perl script which indents and reformats Perl scripts to make them easier to read. The formatting can be controlled with command line parameters. The default parameter settings approximately follow the suggestions in the Perl Style Guide. Besides reformatting scripts, Perltidy can be a great help in tracking down errors with missing or extra braces, parentheses, and square brackets because it is very good at localizing errors.

  • MaintainedMaintained
  • MaintainedPerl
  • Maintainedcli
  • Maintainedformatter
  • 100% upvoted

rufo

An opinionated ruby formatter, intended to be used via the command line as a text-editor plugin, to autoformat files on save or on demand.

  • MaintainedMaintained
  • MaintainedRuby
  • Maintainedcli
  • Maintainedformatter
  • 0% upvoted

rustfmt

A tool for formatting Rust code according to style guidelines.

  • MaintainedMaintained
  • MaintainedRust
  • Maintainedcli
  • Maintainedformatter
  • 96% upvoted

sleek

Sleek is a CLI tool for formatting SQL. It helps you maintain a consistent style across your SQL code, enhancing readability and productivity. The heavy lifting is done by the sqlformat crate.

  • MaintainedMaintained
  • MaintainedSql
  • Maintainedcli
  • Maintainedformatter
  • 0% upvoted

slither

Static analysis framework that runs a suite of vulnerability detectors, prints visual information about contract details, and provides an API to easily write custom analyses.

  • MaintainedMaintained
  • MaintainedMulti-Language
  • Maintainedcli
  • Maintainedformatter
  • 56% upvoted

Spoon

Spoon is a metaprogramming library to analyze and transform Java source code (incl Java 9, 10, 11, 12, 13, 14). It parses source files to build a well-designed AST with powerful analysis and transformation API. Can be integrated in Maven and Gradle.

  • MaintainedMaintained
  • MaintainedJava
  • Maintainedcli
  • Maintainedformatter
  • 100% upvoted

SQLFluff

Multiple dialect SQL linter and formatter.

  • MaintainedMaintained
  • MaintainedSql
  • Maintainedcli
  • MaintainedlinterMaintainedformatter
  • 77% upvoted

Steampunk Spotter

Ansible Playbook Scanning Tool that analyzes and offers recommendations for your playbooks.

  • MaintainedMaintained
  • MaintainedMulti-Language
  • MaintainedcliMaintainedguiMaintainedserviceMaintainedide-plugin
  • MaintainedlinterMaintainedformatter
  • 83% upvoted

STOKE

A programming-language agnostic stochastic optimizer for the x86_64 instruction set. It uses random search to explore the extremely high-dimensional space of all possible program transformations.

  • DeprecatedDeprecated
  • DeprecatedAsm
  • Deprecatedcli
  • Deprecatedformatter
  • 50% upvoted

structslop

Static analyzer for Go that recommends struct field rearrangements to provide for maximum space/allocation efficiency

  • MaintainedMaintained
  • MaintainedGo
  • Maintainedcli
  • MaintainedlinterMaintainedformatter
  • 0% upvoted

styler

Formatting of R source code files and pretty-printing of R code.

  • MaintainedMaintained
  • MaintainedR
  • Maintainedcli
  • Maintainedformatter
  • 100% upvoted

SwiftFormat

A library and command-line formatting tool for reformatting Swift code.

  • MaintainedMaintained
  • MaintainedSwift
  • Maintainedcli
  • Maintainedformatter
  • 60% upvoted

unimport

A linter, formatter for finding and removing unused import statements.

  • MaintainedMaintained
  • MaintainedPython
  • Maintainedcli
  • MaintainedlinterMaintainedformatter
  • 80% upvoted

Vetur

Vue tooling for VS Code, powered by vls (vue language server). Vetur has support for formatting embedded HTML, CSS, SCSS, JS, TypeScript, and more. Vetur only has a "whole document formatter" and cannot format arbitrary ranges.

  • DeprecatedDeprecated
  • DeprecatedMulti-Language
  • DeprecatedcliDeprecatedide-plugin
  • DeprecatedlinterDeprecatedformatter
  • 14% upvoted

yapf

A formatter for Python files created by Google YAPF follows a distinctive methodology, originating from the 'clang-format' tool created by Daniel Jasper. Essentially, the program reframes the code to the most suitable formatting that abides by the style guide, even if the original code already follows the style guide. This concept is similar to the Go programming language's 'gofmt' tool, which aims to put an end to debates about formatting by having the entire codebase of a project pass through YAPF whenever changes are made, thereby maintaining a consistent style throughout the project and eliminating the need to argue about style in every code review.

  • DeprecatedDeprecated
  • DeprecatedPython
  • Deprecatedcli
  • Deprecatedformatter
  • 0% upvoted

10 Multi-Language Tools

autocorrect

A linter and formatter to help you to improve copywriting, correct spaces, words, punctuations between CJK (Chinese, Japanese, Korean).

  • MaintainedMaintained
  • MaintainedMulti-Language
  • Maintainedcli
  • MaintainedlinterMaintainedformatter
  • 0% upvoted

include-gardener

A multi-language static analyzer for C/C++/Obj-C/Python/Ruby to create a graph (in dot or graphml format) which shows all #include relations of a given set of files.

  • DeprecatedDeprecated
  • DeprecatedMulti-Language
  • Deprecatedcli
  • Deprecatedformatter
  • 0% upvoted

Mobb

Mobb is a trusted, automatic vulnerability fixer that secures applications, reduces security backlogs, and frees developers to focus on innovation. Mobb is free for open-source projects.

  • MaintainedMaintained
  • MaintainedMulti-Language
  • MaintainedcliMaintainedservice
  • MaintainedlinterMaintainedformatter
  • 0% upvoted

OpenRewrite

OpenRewrite fixes common static analysis issues reported through Sonar and other tools using a Maven and Gradle plugin or the Moderne CLI.

  • MaintainedMaintained
  • MaintainedMulti-Language
  • Maintainedcli
  • MaintainedlinterMaintainedformatter
  • 25% upvoted

oxc

The Oxidation Compiler is creating a suite of high-performance tools for the JavaScript / TypeScript language re-written in Rust.

  • MaintainedMaintained
  • MaintainedMulti-Language
  • Maintainedcli
  • MaintainedlinterMaintainedformatter
  • 75% upvoted

pfff

Facebook's tools for code analysis, visualizations, or style-preserving source transformation for many languages.

  • MaintainedMaintained
  • MaintainedMulti-Language
  • Maintainedcli
  • Maintainedformatter
  • 43% upvoted

Prettier

An opinionated code formatter.

  • MaintainedMaintained
  • MaintainedMulti-Language
  • Maintainedcli
  • Maintainedformatter
  • 90% upvoted

trunk

Modern repositories include many technologies, each with its own set of linters. With 30+ linters and counting, Trunk makes it dead-simple to identify, install, configure, and run the right linters, static analyzers, and formatters for all your repos.

  • MaintainedMaintained
  • MaintainedMulti-Language
  • Maintainedcli
  • MaintainedlinterMaintainedformatter
  • 77% upvoted

Unibeautify

Universal code beautifier with a GitHub app. Supports HTML, CSS, JavaScript, TypeScript, JSX, Vue, C++, Go, Objective-C, Java, Python, PHP, GraphQL, Markdown, and more.

  • MaintainedMaintained
  • MaintainedMulti-Language
  • MaintainedcliMaintainedservice
  • Maintainedformatter
  • 50% upvoted

vera++

Vera++ is a programmable tool for verification, analysis and transformation of C++ source code.

  • DeprecatedDeprecated
  • DeprecatedMulti-Language
  • Deprecatedcli
  • Deprecatedformatter
  • 64% upvoted

Our Sponsors

This website is completely open source. To fund our work, we fully rely on sponsors. Thanks to them, we can keep the site free for everybody. Please check out their offers below.

  • BugProve
  • Pixee
  • semgrep
  • Offensive 360
  • BetterScan