@@ -87,7 +87,6 @@ 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)
9190 " F841" , # unused local variable (side-effect assignments)
9291 " E402" , # module-level import not at top of file
9392 " E702" , # multiple statements on one line (compact test tables)
@@ -111,17 +110,21 @@ inline-quotes = "double"
111110"**/examples/**" = [
112111 " T201" , # print
113112 " E402" , # module-level import not at top of file
114- " RUF059" , # unused unpacked variable
115113]
116114
117115"**/benchmarks/**" = [
118116 " T201" , # print
119117 " RUF012" , # mutable class default (ctypes _fields_ is standard)
120- " RUF059" , # unused unpacked variable
121118 " F841" , # unused local variable
122119 " E402" , # module-level import not at top of file
123120]
124121
122+ "**/pytest-legacy/**" = [
123+ " N801" , # legacy CUDA naming conventions
124+ " N802" ,
125+ " N806" ,
126+ ]
127+
125128# CUDA bindings mirror C API naming conventions (CamelCase types, camelCase functions)
126129# Keep examples opted-in to enforce naming conventions in example-local identifiers.
127130"cuda_bindings/{benchmarks,cuda,docs,tests}/**" = [
0 commit comments