---
source: crates/ruff_linter/src/rules/flake8_unused_arguments/mod.rs
snapshot_kind: text
---
ARG.py:9:7: ARG001 Unused function argument: `self`
   |
 7 | # Unused arguments on functions.
 8 | ###
 9 | def f(self, x):
   |       ^^^^ ARG001
10 |     print("Hello, world!")
   |

ARG.py:9:13: ARG001 Unused function argument: `x`
   |
 7 | # Unused arguments on functions.
 8 | ###
 9 | def f(self, x):
   |             ^ ARG001
10 |     print("Hello, world!")
   |

ARG.py:13:7: ARG001 Unused function argument: `cls`
   |
13 | def f(cls, x):
   |       ^^^ ARG001
14 |     print("Hello, world!")
   |

ARG.py:13:12: ARG001 Unused function argument: `x`
   |
13 | def f(cls, x):
   |            ^ ARG001
14 |     print("Hello, world!")
   |
