Enable Ruff ARG (flake8-unsued-arguments) and remove unused arguments (#13334)

This commit is contained in:
Avasam authored and GitHub committed 2024-12-29 17:21:19 -08:00
1 parent 432d8db627
commit ebc9ff8718
4 files changed
+7 -6

No files matched your search

+1 -1
View File
@@ -17,7 +17,7 @@ try:
from termcolor import colored as colored # pyright: ignore[reportAssignmentType]
except ImportError:
def colored(text: str, color: str | None = None, **kwargs: Any) -> str: # type: ignore[misc]
def colored(text: str, color: str | None = None, **kwargs: Any) -> str: # type: ignore[misc] # noqa: ARG001
return text