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