A Python tool and pre-commit hook that automatically adds trailing commas to multi-line calls, literals, and definitions.
#code-formatting
Best open-source code formatting and linting tools (2026)
These tools enforce a consistent code style and catch problems such as unused imports or likely bugs. When choosing one, check which languages and editors it supports, whether it fits your build or pre-commit setup, and whether it fixes code automatically or only reports issues. ale lints asynchronously as you type in Vim or Neovim and can run prettier and eslint. ktlint-gradle adds check and format tasks to Gradle for Kotlin projects. nbQA runs tools like ruff and black directly on Jupyter Notebooks.
Sort:Recently added
A command-line tool that runs Black on Python code blocks inside Markdown, reStructuredText, and LaTeX documentation files.
A command-line tool that removes unused imports and unused variables from Python code, using pyflakes to find them.
A CLI tool that runs Python linters and formatters such as ruff, isort, black, mypy and flake8 directly on Jupyter Notebooks.
A Vim and Neovim plugin that lints code asynchronously while you type, runs fixers like prettier and eslint, and acts as an LSP client.
A Gradle plugin that wraps ktlint to add check and auto-format tasks for Kotlin projects.