Skip to content

Commit f631066

Browse files
authored
Merge pull request #108 from RelationalAI/mm-shapely
Allow Shape to be used in Front benchmarks
2 parents ef3bffe + f9c3da2 commit f631066

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/linting/extended_checks.jl

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -503,9 +503,11 @@ function check(t::NonFrontShapeAPIUsageRule, x::EXPR, markers::Dict{Symbol,Strin
503503
contains(markers[:filename], "src/FrontCompiler") && return
504504
contains(markers[:filename], "src/FFI") && return
505505
contains(markers[:filename], "src/FrontIR") && return
506-
# Also, allow usages in tests
506+
# Allow usage in Front benchmarks
507+
contains(markers[:filename], "bench/Front") && return
508+
# Allow usages in tests
507509
contains(markers[:filename], "test/") && return
508-
# Also, allow usages of the name `Shape` in `packages/` although they refer to a different thing.
510+
# Allow usages of the name `Shape` in `packages/` although they refer to a different thing.
509511
contains(markers[:filename], "packages/RAI_Protos/src/proto/metadata.proto") && return
510512
contains(markers[:filename], "packages/RAI_Protos/src/gen/relationalai/protocol/metadata_pb.jl") && return
511513

0 commit comments

Comments
 (0)