flake8-tuple-unpack-limit
An extension for flake8 to report on too long tuple unpacking.
Default max unpack length is 4 and can be configured
via --max-unpack-length option.
Installation
pip install flake8-tuple-unpack-length
Example
Sample file:
# test.py
def foo():
return (1, 2, 3, 4, 5)
a, b, c, d, e = foo()
Usage:
$ flake8 --max-unpack-length 3 test.py
test.py:6:1: TUL001 unpack too many variables (5 > 3)
Metadata
Release files for flake8-tuple-unpack-limit 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| flake8-tuple-unpack-limit-0.0.1.tar.gz | 2.6 kB | Without provenance | Details for flake8-tuple-unpack-limit-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| flake8_tuple_unpack_limit-0.0.1-py3.8.egg | Legacy Egg format | - | - | Details for flake8_tuple_unpack_limit-0.0.1-py3.8.egg |
Total release size: 6.3 kB
Release files / flake8-tuple-unpack-limit-0.0.1.tar.gz
| Download URL | flake8-tuple-unpack-limit-0.0.1.tar.gz |
|---|---|
| Size | 2.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5c9223f7aa3f12578a07f638dbee509e9eba8063150d9936c4114d942d65eea7
|
|
BLAKE2b-256 checksum How to use checksums |
75018e041b5ada9095da23be08b731bf5f1ab3d6ffff3a03ca69346e1361eb94
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.20.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.1
|
Release files / flake8_tuple_unpack_limit-0.0.1-py3.8.egg
| Download URL | flake8_tuple_unpack_limit-0.0.1-py3.8.egg |
|---|---|
| Size | 3.7 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
fa01208ee0f42c9f6633b6a80bf27f7368fd5558539457c512c565ad6b025467
|
|
BLAKE2b-256 checksum How to use checksums |
6ddd55244e923c9163c37551a9282b1c5ce3aeac8b0f24079a139c5a327322f4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.20.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.1
|
Security for flake8-tuple-unpack-limit 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.