Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'which' -> 'that' because the clause is essential to the meaning #2457

Merged
merged 1 commit into from
Aug 17, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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