From 51ff7609ef9c46fc7dc6f2789548a6052e258f49 Mon Sep 17 00:00:00 2001 From: Abdul Zreika Date: Thu, 12 Dec 2024 13:16:17 +1100 Subject: [PATCH] az-shpaes --- src/linting/extended_checks.jl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/linting/extended_checks.jl b/src/linting/extended_checks.jl index 41a5657..f0d6b64 100644 --- a/src/linting/extended_checks.jl +++ b/src/linting/extended_checks.jl @@ -505,6 +505,8 @@ function check(t::NonFrontShapeAPIUsageRule, x::EXPR, markers::Dict{Symbol,Strin contains(markers[:filename], "src/FrontCompiler") && return contains(markers[:filename], "src/FFI") && return contains(markers[:filename], "src/FrontIR") && return + # Allow usage in shapes package + contains(markers[:filename], "packages/Shapes") && return # Allow usage in Front benchmarks contains(markers[:filename], "bench/Front") && return # Allow usages in tests