flake8 extension to warn on unused function arguments
Project description
flake8-unused-arguments
A flake8 plugin that checks for unused function arguments.
This package adds the following warnings:
U100
- An unused argument.U101
- An unused argument starting with an underscore
Configuration options also exist:
unused-arguments-ignore-abstract-functions
- don't show warnings for abstract functions.unused-arguments-ignore-stub-functions
- don't show warnings for empty functions.unused-arguments-ignore-variadic-names
- don't show warnings for unused *args and **kwargs.
Changelog
0.0.5
- The positions reported are now for the arguments themselves, rather than the function
0.0.4
- Wrong project name in the readme, whoopsies
0.0.3
- treat functions that start with "raise NotImplementedError()" as stub functions
0.0.2
- fixed error in packaging
0.0.1
- initial release
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for flake8-unused-arguments-0.0.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 642f2e68487b9299c4dde52c4a145674247fb4342687b3493aefc8bfc8f13f9e |
|
MD5 | 6a25b8edc740f3febb08ea6a7f4529fb |
|
BLAKE2b-256 | 791e16a43d8ecba135b090c12bedc0e319d8223290f473b284ae0fc783c66116 |
Close
Hashes for flake8_unused_arguments-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bee66556188b11ceec135fdb07a45dc1477626cc3e34f0bb0287e250b3c165c0 |
|
MD5 | 3f0501ced5452450298c1b09a54a84cc |
|
BLAKE2b-256 | a6b35672732dce1fb0610513f5a6538bb9e5c6ecf8aefbcd3bc43bf75c6f2a1e |