
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
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
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.