Skip to content

Commit e176817

Browse files
committed
Move legacy benchmark Ruff suppressions with code move
The naming-rule suppressions used to live under cuda_bindings/benchmarks, so move the needed legacy-path suppressions to the relocated benchmarks/cuda_bindings pytest-legacy path and drop the stale old-path entry. Made-with: Cursor
1 parent efc34e8 commit e176817

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

ruff.toml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,13 +124,18 @@ inline-quotes = "double"
124124

125125
# CUDA bindings mirror C API naming conventions (CamelCase types, camelCase functions)
126126
# Keep examples opted-in to enforce naming conventions in example-local identifiers.
127-
"cuda_bindings/{benchmarks,cuda,docs,tests}/**" = [
127+
"cuda_bindings/{cuda,docs,tests}/**" = [
128128
"N801", # invalid-class-name
129129
"N802", # invalid-function-name
130130
"N803", # invalid-argument-name
131131
"N806", # non-lowercase-variable-in-function
132132
"N816", # mixed-case-variable-in-global-scope
133133
]
134+
"benchmarks/cuda_bindings/pytest-legacy/**" = [
135+
"N801", # invalid-class-name
136+
"N802", # invalid-function-name
137+
"N806", # non-lowercase-variable-in-function
138+
]
134139
"cuda_bindings/{build_hooks.py,setup.py}" = ["N801", "N802", "N803", "N806", "N816"]
135140

136141
# scripts and build tooling — print is the expected output method

0 commit comments

Comments
 (0)