-
-
Notifications
You must be signed in to change notification settings - Fork 360
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Code Refactoring (yamllint) #33
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fixed: warning too few spaces before comment (comments) warning missing starting space in comment (comments) warning truthy value should be one of [false, true] (truthy) error line too long (N > N characters) (line-length) error too many spaces inside brackets (brackets) error too many spaces inside braces (braces) error too many spaces after comma (commas) error too many blank lines (N > N) (empty-lines) error trailing spaces (trailing-spaces) error wrong indentation: expected N but found N (indentation)
|
Fixed: ./deploy_pgcluster.yml 3:81 error line too long (98 > 80 characters) (line-length) 25:23 warning truthy value should be one of [false, true] (truthy) 28:14 error too many spaces inside brackets (brackets) 28:59 error too many spaces inside brackets (brackets) 32:81 error line too long (128 > 80 characters) (line-length) 39:81 error line too long (127 > 80 characters) (line-length) 68:14 error too many spaces inside brackets (brackets) 68:29 error too many spaces inside brackets (brackets) 72:22 warning truthy value should be one of [false, true] (truthy) 73:14 error too many spaces inside brackets (brackets) 73:34 error too many spaces inside brackets (brackets) 77:22 warning truthy value should be one of [false, true] (truthy) 78:14 error too many spaces inside brackets (brackets) 78:29 error too many spaces inside brackets (brackets) 82:14 error too many spaces inside brackets (brackets) 82:33 error too many spaces inside brackets (brackets) 99:14 error too many spaces inside brackets (brackets) 99:29 error too many spaces inside brackets (brackets) 120:14 error too many spaces inside brackets (brackets) 120:23 error too many spaces inside brackets (brackets) 123:14 error too many spaces inside brackets (brackets) 123:31 error too many spaces inside brackets (brackets) 126:14 error too many spaces inside brackets (brackets) 126:34 error too many spaces inside brackets (brackets) 144:81 error line too long (107 > 80 characters) (line-length) 145:14 error too many spaces inside brackets (brackets) 145:31 error too many spaces inside brackets (brackets) 162:14 error too many spaces inside brackets (brackets) 162:43 error too many spaces inside brackets (brackets) 163:1 error too many blank lines (1 > 0) (empty-lines)
fixed: ./add_pgnode.yml 27:23 warning truthy value should be one of [false, true] (truthy) 30:14 error too many spaces inside brackets (brackets) 30:59 error too many spaces inside brackets (brackets) 34:81 error line too long (128 > 80 characters) (line-length) 41:81 error line too long (127 > 80 characters) (line-length) 59:14 error too many spaces inside brackets (brackets) 59:23 error too many spaces inside brackets (brackets) 62:14 error too many spaces inside brackets (brackets) 62:31 error too many spaces inside brackets (brackets) 65:14 error too many spaces inside brackets (brackets) 65:34 error too many spaces inside brackets (brackets) 82:81 error line too long (107 > 80 characters) (line-length) 83:14 error too many spaces inside brackets (brackets) 83:31 error too many spaces inside brackets (brackets) 87:14 error too many spaces inside brackets (brackets) 87:43 error too many spaces inside brackets (brackets) 88:1 error too many blank lines (1 > 0) (empty-lines)
fixed: ./add_balancer.yml 24:14 error too many spaces inside brackets (brackets) 24:29 error too many spaces inside brackets (brackets) 30:23 warning truthy value should be one of [false, true] (truthy) 33:14 error too many spaces inside brackets (brackets) 33:59 error too many spaces inside brackets (brackets) 37:81 error line too long (128 > 80 characters) (line-length) 44:81 error line too long (127 > 80 characters) (line-length) 64:1 error too many blank lines (1 > 0) (empty-lines)
|
fixed: ./roles/ansible-role-firewall/tasks/main.yml 51:81 error line too long (85 > 80 characters) (line-length) 56:21 warning truthy value should be one of [false, true] (truthy) 57:17 warning truthy value should be one of [false, true] (truthy) 58:18 warning truthy value should be one of [false, true] (truthy)
|
fix yamllint error (new-line-at-end-of-file)
Fixed: ./.github/workflows/ansible-lint.yml 1:1 warning missing document start "---" (document-start) 3:1 warning truthy value should be one of [false, true] (truthy) 5:16 error too many spaces inside brackets (brackets) 5:23 error too many spaces inside brackets (brackets) 7:16 error too many spaces inside brackets (brackets) 7:23 error too many spaces inside brackets (brackets) 15:5 error wrong indentation: expected 6 but found 4 (indentation)
|
Fixed: ./vars/system.yml 4:22 warning too few spaces before comment (comments) 32:1 warning comment not indented like content (comments-indentation) 44:1 warning comment not indented like content (comments-indentation)
disable yamllint rule:comments-indentation for main.yml variable file.
--strict return non-zero exit code on warnings as well as errors.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
fixed yamllint warnings/errors: