hello
i run into problems sometimes when i have multiple unused arguments, for example :
def get_func(
self,
clipboard: Any,
selection_data: Any,
info: Any,
data: Any,
) -> None:
"""gets clipboard"""
selection_data.set("BYTES", 8, data)
def clear_func(self, clipboard: Any, data: Any) -> None:
"""clears clipboard"""
and linters dont like this, so maybe typing could have an Unused type ?
i mean currently ion have a type but i have this :
from typing import Any
class Unused:
def __init__(self, *args: Any) -> None:
del args
def get_func(
self,
clipboard: Any,
selection_data: Any,
info: Any,
data: Any,
) -> None:
"""gets clipboard"""
Unused(clipboard, info)
selection_data.set("BYTES", 8, data)
def clear_func(self, clipboard: Any, data: Any) -> None:
"""clears clipboard"""
Unused(clipboard, data)
which works fine, but maybe it should b a type like Unused[int] or Unused[Any] or smt
hello
i run into problems sometimes when i have multiple unused arguments, for example :
and linters dont like this, so maybe
typingcould have anUnusedtype ?i mean currently ion have a type but i have this :
which works fine, but maybe it should b a type like
Unused[int]orUnused[Any]or smt