@@ -312,59 +312,9 @@ include_patterns = [
312312 # 'devtools/**/*.py',
313313 ' devtools/visualization/**/*.py' ,
314314 ' docs/**/*.py' ,
315+ ' exir/**/*.py' ,
315316 # 'examples/**/*.py',
316317 ' examples/openvino/**/*.py' ,
317- # 'exir/**/*.py',
318- # Phase 1: Start with simplest exir files (Batch 1)
319- ' exir/version.py' ,
320- ' exir/scalar_type.py' ,
321- ' exir/error.py' ,
322- ' exir/_warnings.py' ,
323- ' exir/types.py' ,
324- # Phase 1: Batch 2 - More utility files
325- ' exir/dynamic_shape.py' ,
326- ' exir/memory.py' ,
327- ' exir/dim_order_utils.py' ,
328- ' exir/wrap.py' ,
329- # Phase 1: Batch 3 - dialects subdirectory (5 files)
330- ' exir/dialects/__init__.py' ,
331- ' exir/dialects/_ops.py' ,
332- ' exir/dialects/backend/_ops.py' ,
333- ' exir/dialects/edge/dtype/supported.py' ,
334- ' exir/dialects/edge/dtype/utils.py' ,
335- # Phase 1: Batch 3+ - operator utility
336- ' exir/operator/util.py' ,
337- # Phase 1: Batch 4 - More subdirectories (6 files)
338- ' exir/program/__init__.py' ,
339- ' exir/program/_fake_program.py' ,
340- ' exir/emit/__init__.py' ,
341- ' exir/capture/__init__.py' ,
342- ' exir/capture/_config.py' ,
343- ' exir/verification/dev_html.py' ,
344- # Phase 1: Batch 5 - Fixed problematic files (3 files)
345- ' exir/operator/manip.py' ,
346- ' exir/dialects/edge/dtype/runner.py' ,
347- ' exir/serde/schema_check.py' ,
348- # Phase 1: Batch 6 - Final root-level fixes (3 files)
349- ' exir/common.py' ,
350- ' exir/sym_util.py' ,
351- ' exir/graph_module.py' ,
352- # Phase 1: Batch 7 - Clean files + fixed files (7 files)
353- ' exir/schema.py' ,
354- ' exir/print_program.py' ,
355- ' exir/pass_manager.py' ,
356- ' exir/graph.py' ,
357- ' exir/control_flow.py' ,
358- ' exir/delegate.py' ,
359- ' exir/backend/partitioner.py' ,
360- # Phase 1: Batch 8 - Clean files to reach 25% coverage (7 files)
361- ' exir/__init__.py' ,
362- ' exir/capture/_unlift.py' ,
363- ' exir/serde/__init__.py' ,
364- ' exir/serde/union.py' ,
365- ' exir/serde/schema.py' ,
366- ' exir/_serialize/__init__.py' ,
367- ' exir/_serialize/padding.py' ,
368318 # 'extension/**/*.py',
369319 ' kernels/**/*.py' ,
370320 ' profiler/**/*.py' ,
@@ -377,9 +327,49 @@ include_patterns = [
377327exclude_patterns = [
378328 ' third-party/**' ,
379329 ' **/third-party/**' ,
380- ' scripts/check_binary_dependencies.py' ,
381- ' profiler/test/test_profiler_e2e.py' ,
382330 ' backends/arm/test/**' ,
331+ # exir exclusions (sorted alphabetically)
332+ ' exir/_serialize/test/**' ,
333+ ' exir/backend/test/**' ,
334+ ' exir/backend/utils.py' ,
335+ ' exir/dialects/backend/test/**' ,
336+ ' exir/dialects/edge/arg/model.py' ,
337+ ' exir/dialects/edge/op/test/**' ,
338+ ' exir/dialects/edge/spec/**' ,
339+ ' exir/dialects/edge/test/**' ,
340+ ' exir/dialects/test/**' ,
341+ ' exir/emit/_emitter.py' ,
342+ ' exir/emit/test/**' ,
343+ ' exir/lowered_backend_module.py' ,
344+ ' exir/memory_planning.py' ,
345+ ' exir/operator/test/**' ,
346+ ' exir/pass_base.py' ,
347+ ' exir/passes/__init__.py' ,
348+ ' exir/passes/_quant_patterns_and_replacements.py' ,
349+ ' exir/passes/const_prop_pass.py' ,
350+ ' exir/passes/constant_prop_pass.py' ,
351+ ' exir/passes/dynamic_shape_prop_pass.py' ,
352+ ' exir/passes/executorch_prim_ops_registry.py' ,
353+ ' exir/passes/memory_planning_pass.py' ,
354+ ' exir/passes/prune_empty_tensors_pass.py' ,
355+ ' exir/passes/quant_fusion_pass.py' ,
356+ ' exir/passes/quantize_io_pass.py' ,
357+ ' exir/passes/remove_mixed_type_operators.py' ,
358+ ' exir/passes/remove_noop_pass.py' ,
359+ ' exir/passes/replace_view_copy_with_view_pass.py' ,
360+ ' exir/passes/spec_prop_pass.py' ,
361+ ' exir/passes/sym_shape_eval_pass.py' ,
362+ ' exir/passes/sym_to_tensor_pass.py' ,
363+ ' exir/passes/weights_to_outputs_pass.py' ,
364+ ' exir/program/test/**' ,
365+ ' exir/serde/export_serialize.py' ,
366+ ' exir/serde/serialize.py' ,
367+ ' exir/tensor.py' ,
368+ ' exir/tests/**' ,
369+ ' exir/tracer.py' ,
370+ ' exir/verification/test/**' ,
371+ ' profiler/test/test_profiler_e2e.py' ,
372+ ' scripts/check_binary_dependencies.py' ,
383373]
384374command = [
385375 ' python3' ,
0 commit comments