awesome-python-code-formatters
blue
awesome-python-code-formatters | blue | |
---|---|---|
4 | 6 | |
278 | 383 | |
3.2% | - | |
3.7 | 0.0 | |
2 months ago | 3 months ago | |
Shell | Python | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
awesome-python-code-formatters
-
A Tale of Two Kitchens - Hypermodernizing Your Python Code Base
Awesome Python Code Formatters
-
I made an advanced math flash card game in python using tkinter!
So yeah follow PEP8, get some linter and formatter to make your code better.
- awesome-python-code-formatters: A curated list of awesome Python code formatters
blue
-
Which code formatter do you use?
I use blue - a fork of black. I set the line lengths (much) longer.
-
Django now uses black to format it's codebase
You would like https://github.com/grantjenks/blue . Its like black, but, among a few other things, defaults to using single quotes.
-
Black vs yapf vs ???
Try https://github.com/grantjenks/blue/ instead of black?
-
The Black formatter goes stable - release 22.1.0
Your people are out there: https://github.com/grantjenks/blue
-
PEP proposal: Automatically Formatting the CPython Code
Just came across blue yesterday which attempts to solve some of the problems with black's approach: https://github.com/grantjenks/blue
What are some alternatives?
ufmt - Safe, atomic formatting with black and µsort
black - The uncompromising Python code formatter [Moved to: https://github.com/psf/black]
Black-Tool - Install the tools and start Attacking , black-tool v5.5.5 ! ⬛
black - The uncompromising Python code formatter [Moved to: https://github.com/psf/black]
darker - 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
pre-commit-hooks - Some out-of-the-box hooks for pre-commit
absolufy-imports - Automatically convert relative imports to absolute
jupyterlab_code_formatter - A JupyterLab plugin to facilitate invocation of code formatters.
pygeoif - Basic implementation of the __geo_interface__ 🌐️
pre-commit - A framework for managing and maintaining multi-language pre-commit hooks.