mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-06 21:16:54 +00:00
fix a few small spelling issues
found via `pre-commit try-repo https://github.com/codespell-project/codespell --all-files`
This commit is contained in:
parent
93209ffac9
commit
2fe70dda6b
14 changed files with 16 additions and 16 deletions
|
|
@ -228,7 +228,7 @@ def test_keyword_arguments_for_does_not_handle_attribute_errors(
|
|||
('line 1\n\nline 2\n', ['line 1', '', 'line 2']),
|
||||
])
|
||||
def test_split_line(unsplit_line, expected_lines, default_options):
|
||||
"""Verify the token line spliting."""
|
||||
"""Verify the token line splitting."""
|
||||
file_processor = processor.FileProcessor('-', default_options, lines=[
|
||||
'Line 1',
|
||||
])
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ def test_get_style_guide():
|
|||
|
||||
|
||||
def test_styleguide_options():
|
||||
"""Show tha we proxy the StyleGuide.options attribute."""
|
||||
"""Show that we proxy the StyleGuide.options attribute."""
|
||||
app = mock.Mock()
|
||||
app.options = 'options'
|
||||
style_guide = api.StyleGuide(app)
|
||||
|
|
@ -50,7 +50,7 @@ def test_styleguide_options():
|
|||
|
||||
|
||||
def test_styleguide_paths():
|
||||
"""Show tha we proxy the StyleGuide.paths attribute."""
|
||||
"""Show that we proxy the StyleGuide.paths attribute."""
|
||||
app = mock.Mock()
|
||||
app.paths = 'paths'
|
||||
style_guide = api.StyleGuide(app)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue