No project description provided
Project description
echo 'from x import a, b, c' | flatten-imports | black-macchiato
from x import a
from x import b
from x import c
Flattening your imports is helpful:
reducing the risk of merge conflicts
making it easier to see what imports are used
more linter friendly (linter errors are easier to see on a line basis)
Quick Start
pip install flatten-imports
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
flatten_imports-0.1.0.tar.gz
(2.1 kB
view details)
Built Distribution
File details
Details for the file flatten_imports-0.1.0.tar.gz
.
File metadata
- Download URL: flatten_imports-0.1.0.tar.gz
- Upload date:
- Size: 2.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.2 CPython/3.11.9 Darwin/23.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 19f48da1123bc39c0acf6d94dd84efb91ce06e42969e74b75a198f373d46a645 |
|
MD5 | 092ca700e8f888d330992d516f027b1f |
|
BLAKE2b-256 | f57d81933e1f8b33d648ba1843d189fcf4a752f0aef8ece55f95fa4cb9eb1535 |
File details
Details for the file flatten_imports-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: flatten_imports-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.2 CPython/3.11.9 Darwin/23.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f20a6d72cc1c94b5d876ea4321153674c79d0891f95e5ea755f526dd46aa4742 |
|
MD5 | 2543b803dd4ba780adde1170177b675a |
|
BLAKE2b-256 | cd383d7840c646d0640c6d6a49bf510f769fd322f012009d8cde8eccd7ed6378 |