Skip to content

Commit

Permalink
adding default value to initialize.from_parser_builder
Browse files Browse the repository at this point in the history
  • Loading branch information
domanchi committed Mar 10, 2019
1 parent 20a1633 commit b307e86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion detect_secrets/plugins/common/initialize.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
from detect_secrets.core.usage import PluginOptions


def from_parser_builder(plugins_dict, exclude_lines_regex):
def from_parser_builder(plugins_dict, exclude_lines_regex=None):
"""
:param plugins_dict: plugins dictionary received from ParserBuilder.
See example in tests.core.usage_test.
Expand Down

0 comments on commit b307e86

Please sign in to comment.