Enable Ruff flake8-todos (TD) (#13748)

This commit is contained in:
Avasam
2025-04-03 01:43:54 -04:00
committed by GitHub
parent bd0f64a3cc
commit 4b253d2932
14 changed files with 20 additions and 14 deletions
+2 -2
View File
@@ -158,7 +158,7 @@ def ARRAY(typ: _CT, len: int) -> Array[_CT]: ... # Soft Deprecated, no plans to
if sys.platform == "win32":
def DllCanUnloadNow() -> int: ...
def DllGetClassObject(rclsid: Any, riid: Any, ppv: Any) -> int: ... # TODO not documented
def DllGetClassObject(rclsid: Any, riid: Any, ppv: Any) -> int: ... # TODO: not documented
# Actually just an instance of _NamedFuncPointer (aka _CDLLFuncPointer),
# but we want to set a more specific __call__
@@ -247,7 +247,7 @@ class c_bool(_SimpleCData[bool]):
def __init__(self, value: bool = ...) -> None: ...
if sys.platform == "win32":
class HRESULT(_SimpleCData[int]): ... # TODO undocumented
class HRESULT(_SimpleCData[int]): ... # TODO: undocumented
if sys.version_info >= (3, 12):
# At runtime, this is an alias for either c_int32 or c_int64,