Registry / testing / flake8-unused-arguments

flake8-unused-arguments

JSON →
library0.0.14pypypi✓ verified 85d ago

A flake8 extension that warns on unused function arguments. Current version 0.0.14. Infrequently maintained; last release 2020.

pip install flake8-unused-arguments
INSTALL
IMPORT
SIG · FLAKE8-UNUSED-ARGU
F
flake8-unused-arguments
testingpythonv0.0.14
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

flake8_unused_arguments
import flake8_unused_arguments
The plugin is auto-discovered by flake8; no explicit import needed.

Install the package and flake8 will automatically detect the plugin. Use --select=U100 to show only unused argument warnings.

# Just install; then run flake8 on your code # Example file: test.py def foo(x, y): return x # Run: flake8 --select=U100 test.py # Output: test.py:1:11: U100 Unused argument 'y'
Debug
Known issues
gotchaPlugin may not work with flake8 >= 4.0 due to internal API changes.
fix
Use a different linting tool or pin flake8 to version 3.x.
affects: flake8>=4.0
gotchaThe plugin ignores arguments that start with an underscore (e.g., `_arg`).
fix
Prefix intentionally unused arguments with underscore to suppress warnings.
affects: all
deprecatedNo updates since 2020; consider migrating to ruff (U100 rule) which is actively maintained.
fix
Run `pip install ruff` and use `ruff check --select U100`.
affects: all
Errors
Common errors & fixes
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.
Package not installed or flake8 not finding the plugin.
fix
Run `pip install flake8-unused-arguments` in the same Python environment as flake8.
U100 no longer shown in flake8 output
Plugin incompatible with newer flake8 versions (>=4.0).
fix
Downgrade flake8 to 3.x with `pip install 'flake8<4'`.
Upgrade
Version history
0.0.14latest on PyPI · released Oct 27, 2025
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
flake8-unused-arguments — pip install flake8-unused-arguments · libregistry