1 file was added to this release more than 14 days after its initial publication. Inspect the release files before installing.
flake8_tuple
A flake8_tuple plugin checks for (probably) unintended one element tuples like:
foo = 123,
Install
Install with pip:
$ pip install flake8-tuple
You can check that flake8 has picked it up by looking for flake8-tuple in the output of --version:
$ flake8 --version
2.6.2 (pycodestyle: 2.0.0, flake8-tuple: 0.2.10, pyflakes: 1.2.3, mccabe: 0.5.0) CPython 2.7.11+ on Linux
Warnings
This plugin add new flake8 warning:
T801: one element tuple.
Requirements
Python 2.x, 3.x (tested on 2.7, 3.4, 3.5, 3.6 and 3.7)
flake8 or pycodestyle
Licence
BSD license
## License [](https://app.fossa.io/projects/git%2Bgithub.com%2Far4s%2Fflake8_tuple?ref=badge_large)
History
0.4.1 (2019-12-05)
Fix #26 False positive on 1-tuple assignments containing a function call with a kwarg.
0.3.1 (2019-05-05)
Fix #21 preceding-blankline bug.
0.3.0 (2019-03-19)
Refactor and simplify crucial for loop.
0.2.14 (2019-03-12)
Fix reading from stdin when it is closed.
0.2.13 (2016-07-25)
Fixed #14 - false negative
0.2.12 (2016-07-25)
Fixed #12 - flake8>=3.0.0 compatibility
0.2.11 (2016-07-05)
Fixed issue #8 - non exists file raise IOError
Fixed issues #10 and #11 - compatibility with older versions of flake8
0.2.10 (2016-06-30)
Fixed issue #9 - pycodestyle instead of pep8
0.2.9 (2016-04-07)
Fixed issue #7 - stdin not supported
0.2.8 (2016-03-09)
Fixed issue #6 - EOF in multi-line string
Added test/issues for run flake8
0.2.7 (2016-03-08)
Fixed issue #5 - parsing continue beyond ‘)’
0.2.4 (2016-02-29)
Added support for Python 2.7.x
0.1.0 (2015-01-11)
First release on PyPI.
Release files for flake8-tuple 0.4.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
File added late
1 file was uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
We recommend inspecting the release files before installing.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| flake8_tuple-0.4.1.tar.gz | 5.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| flake8_tuple-0.4.1-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 10.9 kB
Release files / flake8_tuple-0.4.1.tar.gz
| Download URL | flake8_tuple-0.4.1.tar.gz |
|---|---|
| Size | 5.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8a1b42aab134ef4c3fef13c6a8f383363f158b19fbc165bd91aed9c51851a61d
|
|
BLAKE2b-256 checksum How to use checksums |
664003b86236fa107562e3e8f9a7dbecb51339828daeaedf7cb7af8e87fc1b41
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.7.3
|
Release files / flake8_tuple-0.4.1-py2.py3-none-any.whl
File added late
This file was uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
We recommend inspecting the release file before installing.
| Download URL | flake8_tuple-0.4.1-py2.py3-none-any.whl |
|---|---|
| Size | 5.1 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
d828cc8e461c50cacca116e9abb0c9e3be565e8451d3f5c00578c63670aae680
|
|
BLAKE2b-256 checksum How to use checksums |
99c35f8cc4cd4f7ba7c07205321359f54568baafb44a908703f98b9f7353bf3e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.7.3
|