autoflake
awesome-python-code-formatters
autoflake | awesome-python-code-formatters | |
---|---|---|
1 | 4 | |
816 | 283 | |
- | 4.9% | |
10.0 | 3.7 | |
6 months ago | 2 months ago | |
Python | Shell | |
MIT License | MIT License |
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.
autoflake
-
A Tale of Two Kitchens - Hypermodernizing Your Python Code Base
To get all your code into a consistent format the next step is to run a formatter. I recommend black, the well-known uncompromising code formatter, which is the most popular choice. Alternatives to black are autoflake, prettier and yapf, if you do not agree with blacks constraints.
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
What are some alternatives?
flake8-bugbear - A plugin for Flake8 finding likely bugs and design problems in your program. Contains warnings that don't belong in pyflakes and pycodestyle.
blue - The slightly less uncompromising Python code formatter.
prettier - Prettier is an opinionated code formatter.
ufmt - Safe, atomic formatting with black and µsort
cookiecutter-hypermodern-python - Hypermodern Python Cookiecutter
black - The uncompromising Python code formatter [Moved to: https://github.com/psf/black]
yapf - A formatter for Python files
black - The uncompromising Python code formatter [Moved to: https://github.com/psf/black]
hypothesis - Hypothesis is a powerful, flexible, and easy to use library for property-based testing.
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
absolufy-imports - Automatically convert relative imports to absolute