Skip to content

Commit

Permalink
code review changes
Browse files Browse the repository at this point in the history
  • Loading branch information
bziser committed Jun 2, 2024
1 parent f2b5ca8 commit 358bf1f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions demisto_sdk/commands/validate/sdk_validation_config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ select = [
"DS100", "DS107",
"SC100", "SC105", "SC106", "SC109",
"RM104", "RM105", "RM106", "RM109", "RM113", "RM114",
"RN103",
"CL100",
"GF100", "GF101", "GF102",
"IF100", "IF101", "IF102", "IF103", "IF104", "IF105", "IF106", "IF116",
Expand Down
4 changes: 2 additions & 2 deletions demisto_sdk/commands/validate/tests/RN_validators_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@
), # shouldn't pass as it has an invalid release note
],
3,
["Please finish filling out the release notes. For common troubleshooting steps, please "
"review the documentation found here: "
["Please complete the release notes and ensure all placeholders are filled in."
"For common troubleshooting steps, please review the documentation found here: "
"https://xsoar.pan.dev/docs/integrations/changelog#common-troubleshooting-tips"],
),
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ class IsReleaseNotesFilledOutValidator(BaseValidator[ContentTypes]):
error_code = "RN103"
description = "Validate that the pack contains a full release note file."
rationale = "Meaningful, complete documentations make it easier for users to use the content."
error_message = "Please finish filling out the release notes. For common troubleshooting steps, please "\
"review the documentation found here: "\
"https://xsoar.pan.dev/docs/integrations/changelog#common-troubleshooting-tips"
error_message = ("Please complete the release notes and ensure all placeholders are filled in."
"For common troubleshooting steps, please review the documentation found here: "
"https://xsoar.pan.dev/docs/integrations/changelog#common-troubleshooting-tips")
related_field = "release_note"
is_auto_fixable = False
related_file_type = [RelatedFileType.RELEASE_NOTE]
Expand Down

0 comments on commit 358bf1f

Please sign in to comment.