Skip to content

Commit

Permalink
Merge pull request #2457 from mdeweerd/patch-1
Browse files Browse the repository at this point in the history
'which' -> 'that' because the clause is essential to the meaning
  • Loading branch information
peternewman authored Aug 17, 2022
2 parents 10943b0 + 5d50d03 commit a322ee3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions codespell_lib/_codespell.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
# realistic for obscure words
('clear', 'for unambiguous errors', '',
False, None, supported_languages_en, None),
('rare', 'for rare (but valid) words which are likely to be errors', '_rare', # noqa: E501
('rare', 'for rare (but valid) words that are likely to be errors', '_rare', # noqa: E501
None, None, None, None),
('informal', 'for making informal words more formal', '_informal',
True, True, supported_languages_en, supported_languages_en),
Expand Down Expand Up @@ -291,15 +291,15 @@ def parse_options(args):
'The default is %(default)r.')
parser.add_argument('--ignore-regex',
action='store', type=str,
help='regular expression which is used to find '
help='regular expression that is used to find '
'patterns to ignore by treating as whitespace. '
'When writing regular expressions, consider '
'ensuring there are boundary non-word chars, '
'e.g., "\\bmatch\\b". Defaults to '
'empty/disabled.')
parser.add_argument('-I', '--ignore-words',
action='append', metavar='FILE',
help='file that contains words which will be ignored '
help='file that contains words that will be ignored '
'by codespell. File must contain 1 word per line.'
' Words are case sensitive based on how they are '
'written in the dictionary file')
Expand All @@ -317,14 +317,14 @@ def parse_options(args):
'misspelling in URIs and emails will be ignored.')
parser.add_argument('-r', '--regex',
action='store', type=str,
help='regular expression which is used to find words. '
help='regular expression that is used to find words. '
'By default any alphanumeric character, the '
'underscore, the hyphen, and the apostrophe is '
'used to build words. This option cannot be '
'specified together with --write-changes.')
parser.add_argument('--uri-regex',
action='store', type=str,
help='regular expression which is used to find URIs '
help='regular expression that is used to find URIs '
'and emails. A default expression is provided.')
parser.add_argument('-s', '--summary',
action='store_true', default=False,
Expand Down

0 comments on commit a322ee3

Please sign in to comment.