Skip to content

Commit a322ee3

Browse files
authored
Merge pull request #2457 from mdeweerd/patch-1
'which' -> 'that' because the clause is essential to the meaning
2 parents 10943b0 + 5d50d03 commit a322ee3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

codespell_lib/_codespell.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
# realistic for obscure words
5353
('clear', 'for unambiguous errors', '',
5454
False, None, supported_languages_en, None),
55-
('rare', 'for rare (but valid) words which are likely to be errors', '_rare', # noqa: E501
55+
('rare', 'for rare (but valid) words that are likely to be errors', '_rare', # noqa: E501
5656
None, None, None, None),
5757
('informal', 'for making informal words more formal', '_informal',
5858
True, True, supported_languages_en, supported_languages_en),
@@ -291,15 +291,15 @@ def parse_options(args):
291291
'The default is %(default)r.')
292292
parser.add_argument('--ignore-regex',
293293
action='store', type=str,
294-
help='regular expression which is used to find '
294+
help='regular expression that is used to find '
295295
'patterns to ignore by treating as whitespace. '
296296
'When writing regular expressions, consider '
297297
'ensuring there are boundary non-word chars, '
298298
'e.g., "\\bmatch\\b". Defaults to '
299299
'empty/disabled.')
300300
parser.add_argument('-I', '--ignore-words',
301301
action='append', metavar='FILE',
302-
help='file that contains words which will be ignored '
302+
help='file that contains words that will be ignored '
303303
'by codespell. File must contain 1 word per line.'
304304
' Words are case sensitive based on how they are '
305305
'written in the dictionary file')
@@ -317,14 +317,14 @@ def parse_options(args):
317317
'misspelling in URIs and emails will be ignored.')
318318
parser.add_argument('-r', '--regex',
319319
action='store', type=str,
320-
help='regular expression which is used to find words. '
320+
help='regular expression that is used to find words. '
321321
'By default any alphanumeric character, the '
322322
'underscore, the hyphen, and the apostrophe is '
323323
'used to build words. This option cannot be '
324324
'specified together with --write-changes.')
325325
parser.add_argument('--uri-regex',
326326
action='store', type=str,
327-
help='regular expression which is used to find URIs '
327+
help='regular expression that is used to find URIs '
328328
'and emails. A default expression is provided.')
329329
parser.add_argument('-s', '--summary',
330330
action='store_true', default=False,

0 commit comments

Comments
 (0)