diff --git a/docs/samples/ardu_prog.kibot.yaml b/docs/samples/ardu_prog.kibot.yaml index 07c96272..301f2cca 100644 --- a/docs/samples/ardu_prog.kibot.yaml +++ b/docs/samples/ardu_prog.kibot.yaml @@ -110,31 +110,31 @@ outputs: comment: "PDF for PCB top layer" type: pdf_pcb_print dir: PCB - layers: [ F.Cu, Dwgs.User ] + layers: [F.Cu, Dwgs.User] - name: print_pdf_l2 comment: "PDF for PCB GND plane" type: pdf_pcb_print dir: PCB - layers: [ GND.Cu, Dwgs.User ] + layers: [GND.Cu, Dwgs.User] - name: print_pdf_l3 comment: "PDF for PCB power plane" type: pdf_pcb_print dir: PCB - layers: [ Power.Cu, Dwgs.User ] + layers: [Power.Cu, Dwgs.User] - name: print_pdf_l4 comment: "PDF for PCB bottom layer" type: pdf_pcb_print dir: PCB - layers: [ B.Cu, Dwgs.User ] + layers: [B.Cu, Dwgs.User] - name: print_fab comment: "PDF to show fab layers" type: pdf_pcb_print dir: PCB - layers: [ F.Fab, F.Paste, F.Adhes, Dwgs.User ] + layers: [F.Fab, F.Paste, F.Adhes, Dwgs.User] - name: board_top comment: "Top layer view" diff --git a/tests/yaml_samples/drc_filter.kibot.yaml b/tests/yaml_samples/drc_filter.kibot.yaml index fefd2dcd..15db1080 100644 --- a/tests/yaml_samples/drc_filter.kibot.yaml +++ b/tests/yaml_samples/drc_filter.kibot.yaml @@ -7,20 +7,20 @@ preflight: filters: - filter: 'Ignore C3 pad 2 too close to anything' number: 4 - regex: 'Pad 2 of C3' + regex: 'Pad 2 of C3' - filter_msg: 'Ignore unconnected pad 2 of C4' error_number: 2 - regexp: 'Pad 2 of C4' + regexp: 'Pad 2 of C4' # KiCad v6 rc1 - filter_msg: 'Ignore clearance violation' error: clearance - regexp: 'netclass .Default' + regexp: 'netclass .Default' - filter_msg: 'Ignore missing outline' error: invalid_outline - regexp: 'no edges found' + regexp: 'no edges found' - filter_msg: 'Ignore silk over copper' error: silk_over_copper - regexp: 'Silkscreen clipped' + regexp: 'Silkscreen clipped' - filter_msg: 'Ignore unconnected pad 2 of C4' error: unconnected_items - regexp: 'Pad 2 .* of C4' + regexp: 'Pad 2 .* of C4' diff --git a/tests/yaml_samples/dxf.kibot.yaml b/tests/yaml_samples/dxf.kibot.yaml index 91578902..18ffab1d 100644 --- a/tests/yaml_samples/dxf.kibot.yaml +++ b/tests/yaml_samples/dxf.kibot.yaml @@ -20,7 +20,6 @@ outputs: # DXF options drill_marks: full sketch_plot: false - use_aux_axis_as_origin: false polygon_mode: true metric_units: false layers: diff --git a/tests/yaml_samples/erc.kibot.yaml b/tests/yaml_samples/erc.kibot.yaml index dd9c0056..640caa3d 100644 --- a/tests/yaml_samples/erc.kibot.yaml +++ b/tests/yaml_samples/erc.kibot.yaml @@ -7,7 +7,7 @@ preflight: filters: - filter: 'Ignore C3 pad 2 too close to anything' number: 4 - regex: 'Pad 2 of C3' + regex: 'Pad 2 of C3' - filter: 'Ignore unconnected pad 2 of C4' number: 2 - regex: 'Pad 2 of C4' + regex: 'Pad 2 of C4' diff --git a/tests/yaml_samples/erc_no_w.kibot.yaml b/tests/yaml_samples/erc_no_w.kibot.yaml index decac967..74632421 100644 --- a/tests/yaml_samples/erc_no_w.kibot.yaml +++ b/tests/yaml_samples/erc_no_w.kibot.yaml @@ -8,7 +8,7 @@ preflight: filters: - filter: 'Ignore C3 pad 2 too close to anything' number: 4 - regex: 'Pad 2 of C3' + regex: 'Pad 2 of C3' - filter: 'Ignore unconnected pad 2 of C4' number: 2 - regex: 'Pad 2 of C4' + regex: 'Pad 2 of C4' diff --git a/tests/yaml_samples/int_bom_exclude_any.kibot.yaml b/tests/yaml_samples/int_bom_exclude_any.kibot.yaml index d841f2f2..d0edc308 100644 --- a/tests/yaml_samples/int_bom_exclude_any.kibot.yaml +++ b/tests/yaml_samples/int_bom_exclude_any.kibot.yaml @@ -3,26 +3,26 @@ kibot: version: 1 filters: - - name: 'exclude_any' - type: 'generic' - comment: 'Almost same as KiBoM, no fiducial' - exclude_any: - - column: References - regex: '^TP[0-9]*' - - column: References - regex: '^FID' - - column: Part - regex: 'mount.*hole' - - column: Part - regex: 'solder.*bridge' - - column: Part - regex: 'solder.*jump' - - column: Part - regex: 'test.*point' - - column: Footprint - regex: 'test.*point' - - column: Footprint - regex: 'mount.*hole' + - name: 'exclude_any' + type: 'generic' + comment: 'Almost same as KiBoM, no fiducial' + exclude_any: + - column: References + regex: '^TP[0-9]*' + - column: References + regex: '^FID' + - column: Part + regex: 'mount.*hole' + - column: Part + regex: 'solder.*bridge' + - column: Part + regex: 'solder.*jump' + - column: Part + regex: 'test.*point' + - column: Footprint + regex: 'test.*point' + - column: Footprint + regex: 'mount.*hole' outputs: diff --git a/tests/yaml_samples/int_bom_fil_1.kibot.yaml b/tests/yaml_samples/int_bom_fil_1.kibot.yaml index 63bdf42c..c0799d40 100644 --- a/tests/yaml_samples/int_bom_fil_1.kibot.yaml +++ b/tests/yaml_samples/int_bom_fil_1.kibot.yaml @@ -3,31 +3,31 @@ kibot: version: 1 filters: - - name: 'empty val' - type: 'generic' - comment: 'Remove components with empty value' - exclude_empty_val: true + - name: 'empty val' + type: 'generic' + comment: 'Remove components with empty value' + exclude_empty_val: true - - name: 'by prefix' - type: 'generic' - comment: 'Remove components by prefix' - exclude_refs: - - R1 - - C* + - name: 'by prefix' + type: 'generic' + comment: 'Remove components by prefix' + exclude_refs: + - R1 + - C* - - name: no_KK_Q,Q - type: 'generic' - comment: 'Remove components with K K and Q,Q fields' - keys: ['K K', 'Q,Q'] - exclude_field: true + - name: no_KK_Q,Q + type: 'generic' + comment: 'Remove components with K K and Q,Q fields' + keys: ['K K', 'Q,Q'] + exclude_field: true - - name: no Conf KK - type: 'generic' - comment: 'Remove components with K K and Q,Q in config' - keys: ['K K', 'Q,Q'] - exclude_config: true - config_separators: '' - config_field: BB + - name: no Conf KK + type: 'generic' + comment: 'Remove components with K K and Q,Q in config' + keys: ['K K', 'Q,Q'] + exclude_config: true + config_separators: '' + config_field: BB outputs: - name: 'empty_val' diff --git a/tests/yaml_samples/int_bom_fil_2.kibot.yaml b/tests/yaml_samples/int_bom_fil_2.kibot.yaml index 890b33f2..ba99b640 100644 --- a/tests/yaml_samples/int_bom_fil_2.kibot.yaml +++ b/tests/yaml_samples/int_bom_fil_2.kibot.yaml @@ -3,20 +3,20 @@ kibot: version: 1 filters: - - name: 'no smd' - type: 'generic' - comment: 'Remove components with smd attribute' - exclude_smd: true + - name: 'no smd' + type: 'generic' + comment: 'Remove components with smd attribute' + exclude_smd: true - - name: 'no tht' - type: 'generic' - comment: 'Remove components with through-hole attribute' - exclude_tht: true + - name: 'no tht' + type: 'generic' + comment: 'Remove components with through-hole attribute' + exclude_tht: true - - name: 'no virtual' - type: 'generic' - comment: 'Remove components with virtual attribute' - exclude_virtual: true + - name: 'no virtual' + type: 'generic' + comment: 'Remove components with virtual attribute' + exclude_virtual: true outputs: - name: 'no smd' diff --git a/tests/yaml_samples/int_bom_include_only.kibot.yaml b/tests/yaml_samples/int_bom_include_only.kibot.yaml index b8520ab2..e9ef8b96 100644 --- a/tests/yaml_samples/int_bom_include_only.kibot.yaml +++ b/tests/yaml_samples/int_bom_include_only.kibot.yaml @@ -3,12 +3,12 @@ kibot: version: 1 filters: - - name: 'include_only' - type: 'generic' - comment: 'Test for include_only' - include_only: - - column: 'Footprint' - regex: '0805' + - name: 'include_only' + type: 'generic' + comment: 'Test for include_only' + include_only: + - column: 'Footprint' + regex: '0805' outputs: - name: 'bom_internal' diff --git a/tests/yaml_samples/int_bom_kicost_sel_dist_1_xlsx.kibot.yaml b/tests/yaml_samples/int_bom_kicost_sel_dist_1_xlsx.kibot.yaml index 0ed7fc34..473a0c7a 100644 --- a/tests/yaml_samples/int_bom_kicost_sel_dist_1_xlsx.kibot.yaml +++ b/tests/yaml_samples/int_bom_kicost_sel_dist_1_xlsx.kibot.yaml @@ -24,18 +24,18 @@ outputs: level: 1 comment: 'Code used to buy the part at Digi-Key' cost_extra_columns: - - field: 'Resistance' - name: 'Real value' - comment: 'Verdadero valor' - join: 'Capacitance' - level: 1 - - field: 'Tolerance' - name: Tolerancia - comment: 'La tolerancia' - level: 1 - - 'Voltage' + - field: 'Resistance' + name: 'Real value' + comment: 'Verdadero valor' + join: 'Capacitance' + level: 1 + - field: 'Tolerance' + name: Tolerancia + comment: 'La tolerancia' + level: 1 + - 'Voltage' distributors: - - Mouser - - Digi-Key + - Mouser + - Digi-Key xlsx: kicost: true diff --git a/tests/yaml_samples/int_bom_kicost_simple_xlsx.kibot.yaml b/tests/yaml_samples/int_bom_kicost_simple_xlsx.kibot.yaml index d523a6eb..5e9b99c3 100644 --- a/tests/yaml_samples/int_bom_kicost_simple_xlsx.kibot.yaml +++ b/tests/yaml_samples/int_bom_kicost_simple_xlsx.kibot.yaml @@ -24,15 +24,15 @@ outputs: level: 1 comment: 'Code used to buy the part at Digi-Key' cost_extra_columns: - - field: 'Resistance' - name: 'Real value' - comment: 'Verdadero valor' - join: 'Capacitance' - level: 1 - - field: 'Tolerance' - name: Tolerancia - comment: 'La tolerancia' - level: 1 - - 'Voltage' + - field: 'Resistance' + name: 'Real value' + comment: 'Verdadero valor' + join: 'Capacitance' + level: 1 + - field: 'Tolerance' + name: Tolerancia + comment: 'La tolerancia' + level: 1 + - 'Voltage' xlsx: kicost: true diff --git a/tests/yaml_samples/int_bom_sheet_path.kibot.yaml b/tests/yaml_samples/int_bom_sheet_path.kibot.yaml index 1a9ed18c..ec8f4ba0 100644 --- a/tests/yaml_samples/int_bom_sheet_path.kibot.yaml +++ b/tests/yaml_samples/int_bom_sheet_path.kibot.yaml @@ -8,5 +8,5 @@ outputs: type: bom dir: BoM options: - columns: ['Row','Description','Part','References','Value','Footprint','Quantity Per PCB','Status','Datasheet','Sheetpath'] + columns: ['Row', 'Description', 'Part', 'References', 'Value', 'Footprint', 'Quantity Per PCB', 'Status', 'Datasheet', 'Sheetpath'] group_fields: [] diff --git a/tests/yaml_samples/int_bom_simple_csv.kibot.yaml b/tests/yaml_samples/int_bom_simple_csv.kibot.yaml index f609d225..05f2716f 100644 --- a/tests/yaml_samples/int_bom_simple_csv.kibot.yaml +++ b/tests/yaml_samples/int_bom_simple_csv.kibot.yaml @@ -8,4 +8,4 @@ outputs: type: bom dir: BoM options: - group_fields: ['Part', 'Part Lib', 'Value', 'Footprint', 'Footprint Lib'] + group_fields: ['Part', 'Part Lib', 'Value', 'Footprint', 'Footprint Lib'] diff --git a/tests/yaml_samples/int_bom_var_5_csv.kibot.yaml b/tests/yaml_samples/int_bom_var_5_csv.kibot.yaml index 1e7ce691..abe9798d 100644 --- a/tests/yaml_samples/int_bom_var_5_csv.kibot.yaml +++ b/tests/yaml_samples/int_bom_var_5_csv.kibot.yaml @@ -6,7 +6,7 @@ variants: - name: 'test multi' comment: 'Test multi variant' type: kibom - variant: [A,B] + variant: [A, B] outputs: - name: 'bom filtered' diff --git a/tests/yaml_samples/int_bom_var_t2is_csv.kibot.yaml b/tests/yaml_samples/int_bom_var_t2is_csv.kibot.yaml index 7e3542ea..cdd2739c 100644 --- a/tests/yaml_samples/int_bom_var_t2is_csv.kibot.yaml +++ b/tests/yaml_samples/int_bom_var_t2is_csv.kibot.yaml @@ -3,11 +3,11 @@ kibot: version: 1 filters: - - name: 'no R1' - type: 'generic' - comment: 'Remove components by prefix' - exclude_refs: - - R1 + - name: 'no R1' + type: 'generic' + comment: 'Remove components by prefix' + exclude_refs: + - R1 variants: - name: 'test' diff --git a/tests/yaml_samples/pdf_variant_1.kibot.yaml b/tests/yaml_samples/pdf_variant_1.kibot.yaml index caf410d8..c7bc4384 100644 --- a/tests/yaml_samples/pdf_variant_1.kibot.yaml +++ b/tests/yaml_samples/pdf_variant_1.kibot.yaml @@ -12,6 +12,6 @@ outputs: - name: 'pdf_default' comment: "PDF w/variant" type: pdf - layers: [ F.Fab, B.Fab ] + layers: [F.Fab, B.Fab] options: variant: default