Skip to content

Generated YAML file should look okay to yamllint #718

@inntran

Description

@inntran

Here's my yamllint output for generated pigsty.yml file:

  2:2       warning  missing starting space in comment  (comments)
  10:2      warning  missing starting space in comment  (comments)
  24:4      warning  missing starting space in comment  (comments)
  26:4      warning  missing starting space in comment  (comments)
  29:6      warning  missing starting space in comment  (comments)
  31:6      warning  missing starting space in comment  (comments)
  32:81     error    line too long (116 > 80 characters)  (line-length)
  35:23     error    too many spaces inside braces  (braces)
  35:51     error    too many spaces inside braces  (braces)
  35:54     warning  too few spaces before comment: expected 2  (comments)
  35:81     error    line too long (104 > 80 characters)  (line-length)
  36:10     warning  missing starting space in comment  (comments)
  36:81     error    line too long (107 > 80 characters)  (line-length)
  37:10     warning  missing starting space in comment  (comments)
  37:81     error    line too long (106 > 80 characters)  (line-length)
  42:25     error    too many spaces inside brackets  (brackets)
  42:43     error    too many spaces inside brackets  (brackets)
  46:14     error    too many spaces inside braces  (braces)
  46:32     error    too many spaces before comma  (commas)
  46:34     error    too few spaces after comma  (commas)
  46:70     error    too many spaces before comma  (commas)
  46:72     error    too few spaces after comma  (commas)
  46:87     error    too many spaces before comma  (commas)
  46:89     error    too few spaces after comma  (commas)
  46:111    error    too many spaces inside brackets  (brackets)
  46:113    error    too many spaces before comma  (commas)
  46:115    error    too few spaces after comma  (commas)
  46:141    error    too many spaces inside braces  (braces)
  46:81     error    line too long (142 > 80 characters)  (line-length)
  47:14     error    too many spaces inside braces  (braces)
  47:32     error    too many spaces before comma  (commas)
  47:34     error    too few spaces after comma  (commas)
  47:68     error    too many spaces before comma  (commas)
  47:70     error    too few spaces after comma  (commas)
  47:85     error    too many spaces before comma  (commas)
  47:87     error    too few spaces after comma  (commas)
  47:111    error    too many spaces before comma  (commas)
  47:113    error    too few spaces after comma  (commas)
  47:139    error    too many spaces inside braces  (braces)
  47:81     error    line too long (140 > 80 characters)  (line-length)
  55:81     error    line too long (85 > 80 characters)  (line-length)
  56:26     error    too many spaces inside brackets  (brackets)
  56:42     error    too many spaces inside brackets  (brackets)
  59:14     error    too many spaces inside braces  (braces)
  59:24     error    too many spaces before comma  (commas)
  59:26     error    too few spaces after comma  (commas)
  59:33     error    too many spaces before comma  (commas)
  59:35     error    too few spaces after comma  (commas)
  59:46     error    too many spaces before comma  (commas)
  59:48     error    too few spaces after comma  (commas)
  59:57     error    too many spaces before comma  (commas)
  59:59     error    too few spaces after comma  (commas)
  59:106    error    too many spaces before comma  (commas)
  59:108    error    too few spaces after comma  (commas)
  59:118    error    too many spaces inside braces  (braces)
  59:81     error    line too long (119 > 80 characters)  (line-length)
  63:9      warning  comment not indented like content  (comments-indentation)
  64:10     warning  missing starting space in comment  (comments)
  65:10     warning  missing starting space in comment  (comments)
  66:10     warning  missing starting space in comment  (comments)
  69:6      warning  missing starting space in comment  (comments)
  71:6      warning  missing starting space in comment  (comments)
  74:23     error    too many spaces inside braces  (braces)
  74:36     error    too many spaces inside braces  (braces)
  76:81     error    line too long (97 > 80 characters)  (line-length)
  77:10     warning  missing starting space in comment  (comments)
  77:81     error    line too long (212 > 80 characters)  (line-length)
  79:6      warning  missing starting space in comment  (comments)
  81:6      warning  missing starting space in comment  (comments)
  84:23     error    too many spaces inside braces  (braces)
  84:35     error    too many spaces inside braces  (braces)
  87:81     error    line too long (82 > 80 characters)  (line-length)
  89:6      warning  missing starting space in comment  (comments)
  91:6      warning  missing starting space in comment  (comments)
  92:6      warning  missing starting space in comment  (comments)
  98:81     error    line too long (93 > 80 characters)  (line-length)
  99:81     error    line too long (95 > 80 characters)  (line-length)
  100:81    error    line too long (95 > 80 characters)  (line-length)
  102:6     warning  missing starting space in comment  (comments)
  105:6     warning  missing starting space in comment  (comments)
  106:81    error    line too long (99 > 80 characters)  (line-length)
  108:15    error    too many spaces inside braces  (braces)
  108:31    error    too many spaces inside braces  (braces)
  111:10    warning  missing starting space in comment  (comments)
  111:81    error    line too long (149 > 80 characters)  (line-length)
  112:81    error    line too long (104 > 80 characters)  (line-length)
  113:81    error    line too long (90 > 80 characters)  (line-length)
  114:81    error    line too long (98 > 80 characters)  (line-length)
  120:4     warning  missing starting space in comment  (comments)
  122:4     warning  missing starting space in comment  (comments)
  125:6     warning  missing starting space in comment  (comments)
  127:6     warning  missing starting space in comment  (comments)
  130:81    error    line too long (84 > 80 characters)  (line-length)
  131:81    error    line too long (82 > 80 characters)  (line-length)
  132:81    error    line too long (128 > 80 characters)  (line-length)
  137:11    error    too many spaces before colon  (colons)
  137:15    error    too many spaces inside braces  (braces)
  137:32    error    too many spaces inside braces  (braces)
  138:14    error    too many spaces before colon  (colons)
  138:18    error    too many spaces inside braces  (braces)
  138:37    error    too many spaces before comma  (commas)
  138:39    error    too few spaces after comma  (commas)
  138:67    error    too many spaces inside braces  (braces)
  139:8     warning  missing starting space in comment  (comments)
  139:81    error    line too long (98 > 80 characters)  (line-length)
  141:6     warning  missing starting space in comment  (comments)
  143:6     warning  missing starting space in comment  (comments)
  144:81    error    line too long (94 > 80 characters)  (line-length)
  145:81    error    line too long (82 > 80 characters)  (line-length)
  146:22    error    too many spaces inside brackets  (brackets)
  146:56    error    too many spaces inside brackets  (brackets)
  147:43    warning  too few spaces before comment: expected 2  (comments)
  147:81    error    line too long (90 > 80 characters)  (line-length)
  148:6     warning  missing starting space in comment  (comments)
  148:81    error    line too long (91 > 80 characters)  (line-length)
  149:81    error    line too long (96 > 80 characters)  (line-length)
  150:6     warning  missing starting space in comment  (comments)
  150:81    error    line too long (106 > 80 characters)  (line-length)
  151:81    error    line too long (111 > 80 characters)  (line-length)
  153:6     warning  missing starting space in comment  (comments)
  155:6     warning  missing starting space in comment  (comments)
  161:81    error    line too long (87 > 80 characters)  (line-length)
  162:81    error    line too long (84 > 80 characters)  (line-length)
  163:19    error    too many spaces inside brackets  (brackets)
  163:44    error    too many spaces inside brackets  (brackets)
  163:81    error    line too long (90 > 80 characters)  (line-length)
  164:6     warning  missing starting space in comment  (comments)
  164:81    error    line too long (191 > 80 characters)  (line-length)
  166:6     warning  missing starting space in comment  (comments)
  168:6     warning  missing starting space in comment  (comments)
  169:81    error    line too long (116 > 80 characters)  (line-length)
  171:6     warning  missing starting space in comment  (comments)
  171:81    error    line too long (118 > 80 characters)  (line-length)
  172:6     warning  missing starting space in comment  (comments)
  172:81    error    line too long (118 > 80 characters)  (line-length)
  173:81    error    line too long (84 > 80 characters)  (line-length)
  174:81    error    line too long (88 > 80 characters)  (line-length)
  176:81    error    line too long (95 > 80 characters)  (line-length)
  179:81    error    line too long (92 > 80 characters)  (line-length)
  180:81    error    line too long (94 > 80 characters)  (line-length)
  183:81    error    line too long (88 > 80 characters)  (line-length)
  184:81    error    line too long (92 > 80 characters)  (line-length)
  185:81    error    line too long (84 > 80 characters)  (line-length)
  187:81    error    line too long (93 > 80 characters)  (line-length)
  190:81    error    line too long (89 > 80 characters)  (line-length)
  191:81    error    line too long (96 > 80 characters)  (line-length)
  192:81    error    line too long (85 > 80 characters)  (line-length)
  193:81    error    line too long (89 > 80 characters)  (line-length)
  194:81    error    line too long (84 > 80 characters)  (line-length)
  206:81    error    line too long (89 > 80 characters)  (line-length)
  207:81    error    line too long (96 > 80 characters)  (line-length)
  208:81    error    line too long (85 > 80 characters)  (line-length)
  209:81    error    line too long (89 > 80 characters)  (line-length)
  210:81    error    line too long (84 > 80 characters)  (line-length)
  213:6     warning  missing starting space in comment  (comments)
  215:6     warning  missing starting space in comment  (comments)
  225:4     error    no new line character at the end of file  (new-line-at-end-of-file)

I have uploaded the generated pigsty.yml file, extension changed to txt so I can upload.

pigsty.yml.txt

Metadata

Metadata

Assignees

Labels

ENHANCEMENTNew feature or request

Type

Projects

Status

Todo

Relationships

None yet

Development

No branches or pull requests

Issue actions