Skip to content

Commit

Permalink
Merge pull request #27 from demisto/lgtm-ignore
Browse files Browse the repository at this point in the history
suppress lgtm warning on regex
  • Loading branch information
jochman authored Nov 27, 2019
2 parents d43c85f + 663e0d3 commit fde50df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demisto_sdk/common/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,7 @@ class PB_Status:


# change log regexes
UNRELEASE_HEADER = '## [Unreleased]\n'
UNRELEASE_HEADER = '## [Unreleased]\n' # lgtm[py/regex/duplicate-in-character-class]
CONTENT_RELEASE_TAG_REGEX = r'^\d{2}\.\d{1,2}\.\d'
RELEASE_NOTES_REGEX = re.escape(UNRELEASE_HEADER) + r'([\s\S]+?)## \[\d{2}\.\d{1,2}\.\d\] - \d{4}-\d{2}-\d{2}'

Expand Down

0 comments on commit fde50df

Please sign in to comment.