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

Commit 095fe7b

Browse files
committed
Match argument to passed in keyword argument
The couple times that run_pydocstyle is used calls it with "use_pep257" instead of "used_pep257". This makes it consistent by using the active present-tense voice instead of the past-tense voice.
1 parent c3cd2dc commit 095fe7b

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
@@ -1298,7 +1298,7 @@ def filter(self, record):
12981298
log.addHandler(stderr_handler)
12991299

13001300

1301-
def run_pydocstyle(used_pep257=False):
1301+
def run_pydocstyle(use_pep257=False):
13021302
log.setLevel(logging.DEBUG)
13031303
conf = ConfigurationParser()
13041304
setup_stream_handlers(conf.get_default_run_configuration())
@@ -1313,7 +1313,7 @@ def run_pydocstyle(used_pep257=False):
13131313
# Reset the logger according to the command line arguments
13141314
setup_stream_handlers(run_conf)
13151315

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

0 commit comments

Comments
 (0)