Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
flake8-unused-arguments
Advanced tools
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 underscoreConfiguration options also exist:
unused-arguments-ignore-abstract-functions
- don't show warnings for abstract functions.unused-arguments-ignore-overload-functions
- don't show warnings for overload functions.unused-arguments-ignore-override-functions
- don't show warnings for overridden 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.unused-arguments-ignore-lambdas
- don't show warnings for all lambdas.unused-arguments-ignore-nested-functions
- don't show warnings for nested
functions. Only show warnings for functions in the top level of a module, or methods
of a class in the top level of a module.unused-arguments-ignore-dunder
- don't show warnings for double-underscore methods.
These methods implement or override native builtin methods which have a specific
signature. Therefore arguments must always be present. This is the case of methods
like __new__
, __init__
, __getitem__
, __setitem__
, __reduce_ex__
,
__enter__
, __exit__
, etc.0.0.13
0.0.12
0.0.11
0.0.10
0.0.9
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
FAQs
flake8 extension to warn on unused function arguments
We found that flake8-unused-arguments demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.