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

637 stars
11 watching
55 forks
Language: Python
last commit: about 2 months 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 368
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. 84
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. 103
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 356
davified/clean-code-ml Adapting clean code principles to machine learning and data science in Python 714
kamadorueda/alejandra A tool that formats Nix code according to a comprehensive style guide 878
johnnymorganz/stylua A Lua code formatter with syntax variants for different versions of the language 1,639
guibou/pyf A Haskell library for string formatting with a mini language inspired by Python's printf. 66