You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It'd be great if we could have some settings to disable the unused argument check for stub and abstract functions, such as one that only throws NotImplementedError and does nothing else. The Flake8 plugin has a relevant setting for this.
The output is the same if I don't run it in isolated mode. However, in case you may find it useful, this is the relevant part of my Ruff configuration in pyproject.toml.
Keywords: ARG, ARG001, unused argument
Feature
It'd be great if we could have some settings to disable the unused argument check for stub and abstract functions, such as one that only throws
NotImplementedError
and does nothing else. The Flake8 plugin has a relevant setting for this.To Reproduce
This code:
Command:
ruff check --isolated --select ARG repro.py
Output:
Configuration
The output is the same if I don't run it in isolated mode. However, in case you may find it useful, this is the relevant part of my Ruff configuration in
pyproject.toml
.Platform
The text was updated successfully, but these errors were encountered: