Skip to content

Commit 124aa61

Browse files
committed
chore: format allocator enforcement script
Signed-off-by: Nicholas Gates <nick@nickgates.com>
1 parent a32d7bb commit 124aa61

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

‎scripts/check-buffer-allocators.py‎

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
import re
66
from pathlib import Path
77

8-
98
ROOT = Path(__file__).resolve().parent.parent
109
PATHS = (
1110
"vortex-array/src/arrays/filter/execute",
@@ -41,11 +40,7 @@
4140

4241
def rust_files(path: Path):
4342
files = path.rglob("*.rs") if path.is_dir() else (path,)
44-
return (
45-
file
46-
for file in files
47-
if file.name != "tests.rs" and "tests" not in file.relative_to(ROOT).parts
48-
)
43+
return (file for file in files if file.name != "tests.rs" and "tests" not in file.relative_to(ROOT).parts)
4944

5045

5146
failures = []

0 commit comments

Comments
 (0)