Skip to content

Commit

Permalink
[comment] Add or yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinHock authored Dec 21, 2018
1 parent fa90802 commit 5e41690
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion detect_secrets/plugins/core/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
for r in [
r'[ \t]+{} ?pragma: ?whitelist[ -]secret{}[ \t]*$'.format(start, end)
for start, end in (
('#', ''), # e.g. python
('#', ''), # e.g. python or yaml
('//', ''), # e.g. golang
(r'/\*', r' ?\*/'), # e.g. c
('\'', ''), # e.g. visual basic .net
Expand Down

1 comment on commit 5e41690

@joshuarli
Copy link
Contributor

@joshuarli joshuarli commented on 5e41690 Dec 21, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very well, but just make sure to read #107 (comment)

Please sign in to comment.