Skip to content

Commit

Permalink
Use "darglint2" in --darglint-ignore-regex
Browse files Browse the repository at this point in the history
  • Loading branch information
akaihola committed Feb 18, 2023
1 parent 748ff1a commit 6d0b25e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions darglint2/flake8_entry.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def add_options(cls, option_manager):
)

option_manager.add_option(
'--darglint-ignore-regex',
'--darglint2-ignore-regex',
type=str,
help=(
'Methods/function names matching this regex will be skipped '
Expand All @@ -97,4 +97,4 @@ def add_options(cls, option_manager):
def parse_options(cls, options):
cls.config.style = DocstringStyle.from_string(options.docstring_style)
cls.config.strictness = Strictness.from_string(options.strictness)
cls.config.ignore_regex = options.darglint_ignore_regex
cls.config.ignore_regex = options.darglint2_ignore_regex

0 comments on commit 6d0b25e

Please sign in to comment.