@@ -87,6 +87,7 @@ inline-quotes = "double"
8787 " ARG001" , # unused function argument (fixtures)
8888 " ARG002" , # unused method argument
8989 " RUF012" , # mutable class default (ctypes _fields_ is standard)
90+ " RUF059" , # unused unpacked variable (side-effect assignments)
9091 " F841" , # unused local variable (side-effect assignments)
9192 " E402" , # module-level import not at top of file
9293 " E702" , # multiple statements on one line (compact test tables)
@@ -110,21 +111,17 @@ inline-quotes = "double"
110111"**/examples/**" = [
111112 " T201" , # print
112113 " E402" , # module-level import not at top of file
114+ " RUF059" , # unused unpacked variable
113115]
114116
115117"**/benchmarks/**" = [
116118 " T201" , # print
117119 " RUF012" , # mutable class default (ctypes _fields_ is standard)
120+ " RUF059" , # unused unpacked variable
118121 " F841" , # unused local variable
119122 " E402" , # module-level import not at top of file
120123]
121124
122- "**/pytest-legacy/**" = [
123- " N801" , # legacy CUDA naming conventions
124- " N802" ,
125- " N806" ,
126- ]
127-
128125# CUDA bindings mirror C API naming conventions (CamelCase types, camelCase functions)
129126# Keep examples opted-in to enforce naming conventions in example-local identifiers.
130127"cuda_bindings/{benchmarks,cuda,docs,tests}/**" = [
0 commit comments