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

This commit is contained in:
Avasam
2024-12-29 20:21:19 -05:00
committed by GitHub
parent 432d8db627
commit ebc9ff8718
4 changed files with 7 additions and 6 deletions

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