{"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,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","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,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}