From 581efba8ae94b16abfd28017b1aafae9159e16b5 Mon Sep 17 00:00:00 2001 From: Michael Hucka Date: Thu, 27 Feb 2025 15:34:54 -0800 Subject: [PATCH] Add yamllint config file --- .yamllint.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .yamllint.yaml diff --git a/.yamllint.yaml b/.yamllint.yaml new file mode 100644 index 00000000..d3b1d858 --- /dev/null +++ b/.yamllint.yaml @@ -0,0 +1,14 @@ +# Summary: yamllint configuration. +# See https://yamllint.readthedocs.io/ for info about configuration options. + +rules: + line-length: + # YAML files (especially GitHub Actions workflows) tend to end up with + # long lines. The default of 80 is pretty limiting, and besides, in Python + # code linting, we set line lengths to 100. May as well follow suit here. + max: 100 + # Another common occurrence in YAML files is long URLs. The next two + # settings are not specific to URLs, but help. It saves developer time by + # not requiring comment directives to disable warnings at every occurrence. + allow-non-breakable-words: true + allow-non-breakable-inline-mappings: true