mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-21 10:32:08 +08:00
Enable Ruff ARG (flake8-unsued-arguments) and remove unused arguments (#13334)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user