{"id":23740,"library":"flake8-tuple","title":"flake8-tuple","description":"Flake8 plugin that checks for 1-element tuples written as `x,` instead of `(x,)`, and other tuple-related style issues. Version 0.4.1, stable but rarely updated.","status":"active","version":"0.4.1","language":"python","source_language":"en","source_url":"https://github.com/ar4s/flake8_tuple","tags":["flake8","plugin","linting","tuple","style"],"install":[{"cmd":"pip install flake8-tuple","lang":"bash","label":"Install from PyPI"}],"dependencies":[{"reason":"Runs as a flake8 plugin","package":"flake8","optional":false}],"imports":[{"note":"Plugin auto-loads when installed; no explicit import needed for flake8 users","wrong":null,"symbol":"flake8_tuple","correct":"import flake8_tuple"}],"quickstart":{"code":"pip install flake8-tuple\n# Then run flake8 on your Python files:\nflake8 mymodule.py","lang":"python","description":"Install the plugin and run flake8. The plugin automatically registers checks TUPLE100."},"warnings":[{"fix":"Use other tools like pylint or mypy for comprehensive tuple checks.","message":"Plugin only registers one check code: TUPLE100 (1-element tuple). It does not check for other tuple pitfalls.","severity":"gotcha","affected_versions":"all"},{"fix":"Upgrade flake8 to >=3.0.0 and upgrade flake8-tuple to >=0.4.0.","message":"The plugin requires flake8 version 3.0.0 or later due to new plugin registration API.","severity":"gotcha","affected_versions":"<0.4.0"}],"env_vars":null,"search_vec":"'0.4.1':26 '1':9 'check':7 'element':10 'flake8':2,4,31 'flake8-tuple':1 'instead':15 'issu':24 'lint':33 'plugin':5,32 'rare':29 'relat':22 'stabl':27 'style':23,35 'tupl':3,11,21,34 'tuple-rel':20 'updat':30 'version':25 'written':12 'x':14,17","created_at":"2026-05-01T08:09:22.355538+00:00","updated_at":"2026-05-01T08:09:22.355538+00:00","problems":[{"fix":"Do not import anything explicitly; just install flake8-tuple and run flake8.","cause":"Incorrect import: trying to import flake8.tuple instead of flake8_tuple.","error":"ModuleNotFoundError: No module named 'flake8.tuple'"},{"fix":"Ensure flake8>=3.0.0 and install flake8-tuple: pip install flake8-tuple --upgrade","cause":"Plugin not installed or flake8 version too old (<3.0.0).","error":"flake8: TUPLE100 not reported"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":"0.4.1","cli_name":"","cli_version":null,"type":"library","homepage":null,"github":"https://github.com/ar4s/flake8_tuple","docs":null,"changelog":null,"pypi":"https://pypi.org/project/flake8-tuple/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["testing"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"passing","verified_at":"2026-06-29","last_verified":"2026-06-29","next_check":"2026-07-29","install_tag":null}}