From 199bb9441f14877630e4bf503fa43672a8361547 Mon Sep 17 00:00:00 2001 From: "Salvador E. Tropea" Date: Tue, 13 Sep 2022 13:55:32 -0300 Subject: [PATCH] [Tests] Included missing YAML file --- .pre-commit-config.yaml | 3 ++- setup.cfg | 4 ++++ .../simple_position_csv_pre.kibot.yaml | 14 ++++++++++++++ 3 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 tests/yaml_samples/simple_position_csv_pre.kibot.yaml diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index bf19331a..1759ac7f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -12,7 +12,8 @@ exclude: .*error.*\.yaml| experiments/.*| submodules/.*| - kibot/PyPDF2/.* + kibot/PyPDF2/.*| + tests/yaml_samples/simple_position_csv_pre.kibot.yaml )$ repos: - repo: https://github.com/pre-commit/pre-commit-hooks diff --git a/setup.cfg b/setup.cfg index 9e3793bf..83a69e2c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -4,6 +4,10 @@ branch = main [check-yaml] unsafe = True +[yamllint] +ignore: | + tests/yaml_samples/simple_position_csv_pre.kibot.yaml + [pyupgrade] py36-plus = True diff --git a/tests/yaml_samples/simple_position_csv_pre.kibot.yaml b/tests/yaml_samples/simple_position_csv_pre.kibot.yaml new file mode 100644 index 00000000..cd220b2d --- /dev/null +++ b/tests/yaml_samples/simple_position_csv_pre.kibot.yaml @@ -0,0 +1,14 @@ +# Example KiBot config file for a basic 2-layer board +kibot: + version: 1 + +outputs: + + - name: 'position' + type: position + dir: positiondir_@UNITS@ + options: + format: CSV # CSV or ASCII format + units: @UNITS@ # millimeters or inches + separate_files_for_front_and_back: true + only_smd: true