darker

Code formatter

Reformat modified Python code to improve readability and consistency

Apply black reformatting to Python files only in regions changed since a given commit. For a practical usage example, see the blog post at https://dev.to/akaihola/improving-python-code-incrementally-3f7a

GitHub

638 stars
11 watching
55 forks
Language: Python
last commit: 9 days ago
Linked from 1 awesome list

pythonpython3

Backlinks from these awesome lists:

Related projects:

Repository Description Stars
dnanhkhoa/nb_black Automates code formatting for Python using Black and YAPF to improve readability 367
jupyterlab-contrib/jupyterlab_code_formatter Facilitates invocation of code formatters in JupyterLab 856
peter-evans/autopep8 Automatically formats Python code to conform to PEP 8 style guide. 85
peterjc/flake8-black A flake8 plugin that runs black to validate Python code style and enforce coding standards. 165
gforcada/flake8-pep3101 Checks Python string formatting against the latest standard 14
python-formate/flake8-encodings A tool to identify encoding issues in Python code 6
mihaimaruseac/hindent A tool that reformat Haskell source code to make it more readable and consistent 563
ra1028/swift-mod A tool for modifying Swift code, generating boilerplate and formatting, using Apple's SwiftSyntax framework. 102
ennocramer/floskell A tool that formats Haskell source code into a more readable layout 180
darienhuss/shotgunyara Tools and utilities for generating encoded versions of input data 9
pycqa/modernize Transforms Python 2 source code into compatible Python 3 and 2.6+ code 354
davified/clean-code-ml Adapting clean code principles to machine learning and data science in Python 713
kamadorueda/alejandra A fast and powerful Nix code formatter designed to improve the readability of Nix expressions 861
johnnymorganz/stylua A deterministic code formatter for Lua that enforces a consistent style across various syntax variants. 1,623
guibou/pyf A Haskell library for string formatting with a mini language inspired by Python's printf. 66