Skip to content
This repository was archived by the owner on Nov 3, 2023. It is now read-only.

Commit 2e1ec82

Browse files
committed
Merge pull request #180 from sigmavirus24/fix-keyword-arg
Match argument to passed in keyword argument
2 parents 557e072 + 095fe7b commit 2e1ec82

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pydocstyle.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1294,7 +1294,7 @@ def filter(self, record):
12941294
log.addHandler(stderr_handler)
12951295

12961296

1297-
def run_pydocstyle(used_pep257=False):
1297+
def run_pydocstyle(use_pep257=False):
12981298
log.setLevel(logging.DEBUG)
12991299
conf = ConfigurationParser()
13001300
setup_stream_handlers(conf.get_default_run_configuration())
@@ -1309,7 +1309,7 @@ def run_pydocstyle(used_pep257=False):
13091309
# Reset the logger according to the command line arguments
13101310
setup_stream_handlers(run_conf)
13111311

1312-
if used_pep257:
1312+
if use_pep257:
13131313
log.warning("Deprecation Warning:\n"
13141314
"pep257 has been renamed to pydocstyle and the use of the "
13151315
"pep257 executable is deprecated and will be removed in "

0 commit comments

Comments
 (0)