Skip to main content

flake8-tuple-unpack-limit

PyPI - Python Version

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)

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flake8-tuple-unpack-limit-0.0.1.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

flake8_tuple_unpack_limit-0.0.1-py3.8.egg (3.7 kB view details)

Uploaded Egg

File details

Details for the file flake8-tuple-unpack-limit-0.0.1.tar.gz.

File metadata

  • Download URL: flake8-tuple-unpack-limit-0.0.1.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for flake8-tuple-unpack-limit-0.0.1.tar.gz
Algorithm Hash digest
SHA256 5c9223f7aa3f12578a07f638dbee509e9eba8063150d9936c4114d942d65eea7
MD5 84d9064a519352e5a896c7d8dc3dce98
BLAKE2b-256 75018e041b5ada9095da23be08b731bf5f1ab3d6ffff3a03ca69346e1361eb94

See more details on using hashes here.

File details

Details for the file flake8_tuple_unpack_limit-0.0.1-py3.8.egg.

File metadata

  • Download URL: flake8_tuple_unpack_limit-0.0.1-py3.8.egg
  • Upload date:
  • Size: 3.7 kB
  • Tags: Egg
  • Uploaded using 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

File hashes

Hashes for flake8_tuple_unpack_limit-0.0.1-py3.8.egg
Algorithm Hash digest
SHA256 fa01208ee0f42c9f6633b6a80bf27f7368fd5558539457c512c565ad6b025467
MD5 082832c2f64a369bd1317491336e0611
BLAKE2b-256 6ddd55244e923c9163c37551a9282b1c5ce3aeac8b0f24079a139c5a327322f4

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page