From 52113cc39458568cb17d0da48ac6535b1332bdd4 Mon Sep 17 00:00:00 2001 From: "Salvador E. Tropea" Date: Fri, 25 Nov 2022 12:24:43 -0300 Subject: [PATCH] Fixed some YAML linter warnings --- .../xy_file_with_populate_column.kibot.yaml | 62 +++++++++---------- tests/yaml_samples/pcbdraw.kibot.yaml | 8 +-- tests/yaml_samples/step_alias_2.kibot.yaml | 6 +- tests/yaml_samples/step_simple.kibot.yaml | 6 +- 4 files changed, 41 insertions(+), 41 deletions(-) diff --git a/docs/samples/xy_file_with_populate_column.kibot.yaml b/docs/samples/xy_file_with_populate_column.kibot.yaml index 370bccfb..40c1c9af 100644 --- a/docs/samples/xy_file_with_populate_column.kibot.yaml +++ b/docs/samples/xy_file_with_populate_column.kibot.yaml @@ -9,36 +9,36 @@ kibot: version: 1 filters: -- name: exclude_virtual - comment: "Exclude virtual footprints (when using bom output for generating XY file)" - type: generic - exclude_virtual: true + - name: exclude_virtual + comment: "Exclude virtual footprints (when using bom output for generating XY file)" + type: generic + exclude_virtual: true outputs: -# Use bom output to generate position file -# Must include fiducials in order for pick/place to calculate footprint locations -- name: assy_position - comment: "Board assembly position file (CSV)" - type: bom - options: - format: CSV - columns: - - field: "References" - name: "Ref" - - field: "Footprint" - - field: "Footprint Type" - name: "Type" - - field: "Footprint X" - name: "PosX" - - field: "Footprint Y" - name: "PosY" - - field: "Footprint Rot" - name: "Rot" - - field: "Footprint Side" - name: "Side" - - field: "Footprint Populate" - name: "Populate" - group_fields: [] # disable grouping - exclude_filter: exclude_virtual # remove test points, mounting holes, edge connectors, etc. - dnf_filter: _mechanical # to also mark fiducials as DNF - ignore_dnf: false + # Use bom output to generate position file + # Must include fiducials in order for pick/place to calculate footprint locations + - name: assy_position + comment: "Board assembly position file (CSV)" + type: bom + options: + format: CSV + columns: + - field: "References" + name: "Ref" + - field: "Footprint" + - field: "Footprint Type" + name: "Type" + - field: "Footprint X" + name: "PosX" + - field: "Footprint Y" + name: "PosY" + - field: "Footprint Rot" + name: "Rot" + - field: "Footprint Side" + name: "Side" + - field: "Footprint Populate" + name: "Populate" + group_fields: [] # disable grouping + exclude_filter: exclude_virtual # remove test points, mounting holes, edge connectors, etc. + dnf_filter: _mechanical # to also mark fiducials as DNF + ignore_dnf: false diff --git a/tests/yaml_samples/pcbdraw.kibot.yaml b/tests/yaml_samples/pcbdraw.kibot.yaml index 508d580d..a5eff9c7 100644 --- a/tests/yaml_samples/pcbdraw.kibot.yaml +++ b/tests/yaml_samples/pcbdraw.kibot.yaml @@ -40,15 +40,15 @@ outputs: - reference: J8 library: yaqwsx component: Pin_Header_Straight_1x02_circle - no_drillholes: False - mirror: False + no_drillholes: false + mirror: false highlight: - L_G1 - L_B1 - R10 - RV1 show_components: all - vcuts: True + vcuts: true warnings: visible dpi: 600 # margin: @@ -75,7 +75,7 @@ outputs: options: <<: *pcb_draw_ops style: set-red-enig - bottom: True + bottom: true show_components: - L_G1 - L_B1 diff --git a/tests/yaml_samples/step_alias_2.kibot.yaml b/tests/yaml_samples/step_alias_2.kibot.yaml index 7215d705..c77eafa7 100644 --- a/tests/yaml_samples/step_alias_2.kibot.yaml +++ b/tests/yaml_samples/step_alias_2.kibot.yaml @@ -15,6 +15,6 @@ outputs: options: metric_units: true origin: drill # "grid" or "drill" o "X,Y" i.e. 3.2,-10 - #no_virtual: false # exclude 3D models for components with 'virtual' attribute - #min_distance: 0.01 # Minimum distance between points to treat them as separate ones (default 0.01 mm) - #output: project.step + # no_virtual: false # exclude 3D models for components with 'virtual' attribute + # min_distance: 0.01 # Minimum distance between points to treat them as separate ones (default 0.01 mm) + # output: project.step diff --git a/tests/yaml_samples/step_simple.kibot.yaml b/tests/yaml_samples/step_simple.kibot.yaml index 593e453f..800141c4 100644 --- a/tests/yaml_samples/step_simple.kibot.yaml +++ b/tests/yaml_samples/step_simple.kibot.yaml @@ -9,6 +9,6 @@ outputs: options: metric_units: true origin: drill # "grid" or "drill" o "X,Y" i.e. 3.2,-10 - #no_virtual: false # exclude 3D models for components with 'virtual' attribute - #min_distance: 0.01 # Minimum distance between points to treat them as separate ones (default 0.01 mm) - #output: project.step + # no_virtual: false # exclude 3D models for components with 'virtual' attribute + # min_distance: 0.01 # Minimum distance between points to treat them as separate ones (default 0.01 mm) + # output: project.step