Metadata-Version: 2.1
Name: flake8-tuple-unpack-limit
Version: 0.0.1
Summary: A flake8 extension that checks for tuple unpack length
Home-page: https://github.com/Dedefer/flake8-tuple-unpack-limit
Author: Danila Fomin
Author-email: ddf1998@gmail.com
License: MIT
Description: # flake8-tuple-unpack-limit
        ![PyPI - Python Version](https://img.shields.io/pypi/pyversions/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:
        
        ```python
        # test.py
        def foo():
            return (1, 2, 3, 4, 5)
        
        
        a, b, c, d, e = foo()
        ```
        
        Usage:
        
        ```terminal
        $ flake8 --max-unpack-length 3 test.py
        test.py:6:1: TUL001 unpack too many variables (5 > 3)
        ```
        
Keywords: flake8 tuple unpack limit
Platform: UNKNOWN
Classifier: Environment :: Console
Classifier: Framework :: Flake8
Classifier: Operating System :: OS Independent
Classifier: Topic :: Software Development :: Documentation
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Software Development :: Quality Assurance
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Description-Content-Type: text/markdown
