A tool for formatting, checking and testing your code that makes you well, happier
Project description
A Python development tool that makes you Happier.
Happier formats, lints and sorts your imports. Happier is opinionated, simple and just works, making you hopefully happier.
To run it just type happier and your code will be formatted.
What Happier does
Happier does a number of things with your code. First it runs isort to sort your imports and properly format them.
After having sorted them it runs autoflake to remove unused things.
Finally having done all of that it runs black to format the code nicely.
Why Happier
Happier was developed by myself, William Rudenmalm (https://whn.se) because I felt that Python was falling behind on automatically formatting and fixing my code. All the parts where already there I just needed those 50 lines of code to tie it all together.
With well-wishes and hopes for brigther days ahead in these troubled times.
~William Rudenmalm
Stockholm, 22 June, 2020
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file happier-0.1.0.tar.gz
.
File metadata
- Download URL: happier-0.1.0.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.9 CPython/3.7.7 Darwin/19.4.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2024f848789cc48656f694e172b772054e8f2ac94ea0d11f5384a1a4cd9afcc |
|
MD5 | dd08e899db80ca6b43e574326a63dcdb |
|
BLAKE2b-256 | 0903935f2796c0e9dcf0150f9795caf6834c36b4bf99aba39f7ddc55478aae76 |
File details
Details for the file happier-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: happier-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.9 CPython/3.7.7 Darwin/19.4.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f46b0215d69ec947f5008568e702befd4c5bb51d76788f1a51967dfa8c3c99f0 |
|
MD5 | 993d9f39e621154bf2744617f559096d |
|
BLAKE2b-256 | ec37b6e8ab1d7ec9d8457235328fa24f739b9865137a2ae8cdfca1ee5976b6a2 |