{"id":26995,"library":"flake8-unused-arguments","title":"flake8-unused-arguments","description":"A flake8 extension that warns on unused function arguments. Current version 0.0.14. Infrequently maintained; last release 2020.","status":"active","version":"0.0.14","language":"python","source_language":"en","source_url":"https://github.com/nhoad/flake8-unused-arguments","tags":["flake8","linting","unused-arguments"],"install":[{"cmd":"pip install flake8-unused-arguments","lang":"bash","label":"PyPI"}],"dependencies":[],"imports":[{"note":"The plugin is auto-discovered by flake8; no explicit import needed.","symbol":"flake8_unused_arguments","correct":"import flake8_unused_arguments"}],"quickstart":{"code":"# Just install; then run flake8 on your code\n# Example file: test.py\ndef foo(x, y):\n    return x\n# Run: flake8 --select=U100 test.py\n# Output: test.py:1:11: U100 Unused argument 'y'","lang":"python","description":"Install the package and flake8 will automatically detect the plugin. Use --select=U100 to show only unused argument warnings."},"warnings":[{"fix":"Use a different linting tool or pin flake8 to version 3.x.","message":"Plugin may not work with flake8 >= 4.0 due to internal API changes.","severity":"gotcha","affected_versions":"flake8>=4.0"},{"fix":"Prefix intentionally unused arguments with underscore to suppress warnings.","message":"The plugin ignores arguments that start with an underscore (e.g., `_arg`).","severity":"gotcha","affected_versions":"all"},{"fix":"Run `pip install ruff` and use `ruff check --select U100`.","message":"No updates since 2020; consider migrating to ruff (U100 rule) which is actively maintained.","severity":"deprecated","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Run `pip install flake8-unused-arguments` in the same Python environment as flake8.","cause":"Package not installed or flake8 not finding the plugin.","error":"flake8: `flake8-unused-arguments` is not installed or not found. Use `pip install flake8-unused-arguments` and ensure it's in the same environment as flake8."},{"fix":"Downgrade flake8 to 3.x with `pip install 'flake8<4'`.","cause":"Plugin incompatible with newer flake8 versions (>=4.0).","error":"U100 no longer shown in flake8 output"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}