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.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.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc0859711d5f48f3dfe37ef04117bf0ff5e1e740d286e35816cb750c1c96863e |
|
MD5 | e226ce586c229cd4fa0249b0b459a0ab |
|
BLAKE2b-256 | f0c6fb99403c74e282e9a524abb7fab1d2b45860b6298d1df16f5b88d00bf515 |
Close
Hashes for flake8_unused_arguments-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3029063cc59ef7eb00155e143736084de1200ad1aa0cac11f5fb0ee061a302a |
|
MD5 | b5ecfdda417500c8ff0637647e919905 |
|
BLAKE2b-256 | 7209db616fe435472efcb40ed50a1a8b6b9fff46f120c8a0920b97c05fb425ab |