Skip to content

Commit efff546

Browse files
authoredOct 12, 2021
Merge pull request #1826 from MapleCCC/patch-1
Fix typos in the help message
2 parents 24c98ec + 65d983f commit efff546

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed
 

‎isort/main.py

+9-9
Original file line numberDiff line numberDiff line change
@@ -207,8 +207,8 @@ def _build_arg_parser() -> argparse.ArgumentParser:
207207
)
208208
general_group.add_argument(
209209
"--overwrite-in-place",
210-
help="Tells isort to overwrite in place using the same file handle."
211-
"Comes at a performance and memory usage penalty over it's standard "
210+
help="Tells isort to overwrite in place using the same file handle. "
211+
"Comes at a performance and memory usage penalty over its standard "
212212
"approach but ensures all file flags and modes stay unchanged.",
213213
dest="overwrite_in_place",
214214
action="store_true",
@@ -223,7 +223,7 @@ def _build_arg_parser() -> argparse.ArgumentParser:
223223
"--show-files",
224224
dest="show_files",
225225
action="store_true",
226-
help="See the files isort will be ran against with the current config options.",
226+
help="See the files isort will be run against with the current config options.",
227227
)
228228
general_group.add_argument(
229229
"--df",
@@ -363,13 +363,13 @@ def _build_arg_parser() -> argparse.ArgumentParser:
363363
"--supported-extension",
364364
dest="supported_extensions",
365365
action="append",
366-
help="Specifies what extensions isort can be ran against.",
366+
help="Specifies what extensions isort can be run against.",
367367
)
368368
target_group.add_argument(
369369
"--blocked-extension",
370370
dest="blocked_extensions",
371371
action="append",
372-
help="Specifies what extensions isort can never be ran against.",
372+
help="Specifies what extensions isort can never be run against.",
373373
)
374374
target_group.add_argument(
375375
"--dont-follow-links",
@@ -386,7 +386,7 @@ def _build_arg_parser() -> argparse.ArgumentParser:
386386
"--allow-root",
387387
action="store_true",
388388
default=False,
389-
help="Tells isort not to treat / specially, allowing it to be ran against the root dir.",
389+
help="Tells isort not to treat / specially, allowing it to be run against the root dir.",
390390
)
391391

392392
output_group.add_argument(
@@ -703,9 +703,9 @@ def _build_arg_parser() -> argparse.ArgumentParser:
703703
"--os",
704704
dest="only_sections",
705705
action="store_true",
706-
help="Causes imports to be sorted based on their sections like STDLIB,THIRDPARTY etc. "
706+
help="Causes imports to be sorted based on their sections like STDLIB, THIRDPARTY, etc. "
707707
"Within sections, the imports are ordered by their import style and the imports with "
708-
"same style maintain their relative positions.",
708+
"the same style maintain their relative positions.",
709709
)
710710
section_group.add_argument(
711711
"--ds",
@@ -805,7 +805,7 @@ def _build_arg_parser() -> argparse.ArgumentParser:
805805
help="Force isort to recognize a module as part of Python's internal future compatibility "
806806
"libraries. WARNING: this overrides the behavior of __future__ handling and therefore"
807807
" can result in code that can't execute. If you're looking to add dependencies such "
808-
"as six a better option is to create a another section below --future using custom "
808+
"as six, a better option is to create another section below --future using custom "
809809
"sections. See: https://github.com/PyCQA/isort#custom-sections-and-ordering and the "
810810
"discussion here: https://github.com/PyCQA/isort/issues/1463.",
811811
)

0 commit comments

Comments
 (0)
Please sign in to comment.