From 34795ffc24c8fac817b2647213a1e4c4fada8ad5 Mon Sep 17 00:00:00 2001 From: Ben Dalling Date: Mon, 15 Jan 2024 06:51:40 +0000 Subject: [PATCH] fix: dev: YAML Lint errors. --- .gitignore | 1 + .yamllint.yml | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 .yamllint.yml diff --git a/.gitignore b/.gitignore index dbce267..122e30b 100644 --- a/.gitignore +++ b/.gitignore @@ -160,3 +160,4 @@ cython_debug/ #.idea/ .DS_Store +.python-version diff --git a/.yamllint.yml b/.yamllint.yml new file mode 100644 index 0000000..15dc24a --- /dev/null +++ b/.yamllint.yml @@ -0,0 +1,32 @@ +--- +extends: default + +rules: + braces: + max-spaces-inside: 1 + level: error + brackets: + max-spaces-inside: 1 + level: error + colons: + max-spaces-after: -1 + level: error + commas: + max-spaces-after: -1 + level: error + comments: disable + comments-indentation: disable + document-start: disable + empty-lines: + max: 3 + level: error + hyphens: + level: error + indentation: disable + key-duplicates: enable + line-length: disable + new-line-at-end-of-file: enable + new-lines: + type: unix + trailing-spaces: enable + truthy: disable