Skip to content

Commit 123d99e

Browse files
committed
Merge pull request #512 from jwilk/spelling
Fix spelling
2 parents e8ccd67 + 481c233 commit 123d99e

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

CHANGES.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ Bug fixes:
350350

351351
* Initiate a graceful shutdown on ``Control+C``.
352352

353-
* Allow to change the ``checker_class`` for the ``StyleGuide``.
353+
* Allow changing the ``checker_class`` for the ``StyleGuide``.
354354

355355

356356
1.4.2 (2013-02-10)
@@ -360,7 +360,7 @@ Bug fixes:
360360

361361
* Register new checkers with ``register_check(func_or_cls, codes)``.
362362

363-
* Allow to construct a ``StyleGuide`` with a custom parser.
363+
* Allow constructing a ``StyleGuide`` with a custom parser.
364364

365365
* Accept visual indentation without parenthesis after the ``if``
366366
statement. (Issue #151)
@@ -569,7 +569,7 @@ Bug fixes:
569569
The ``--repeat`` flag becomes obsolete because it is the default
570570
behaviour. (Issue #6)
571571

572-
* Allow to specify ``--max-line-length``. (Issue #36)
572+
* Allow specifying ``--max-line-length``. (Issue #36)
573573

574574
* Make the shebang more flexible. (Issue #26)
575575

pep8.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@ def continued_indentation(logical_line, tokens, indent_level, hang_closing,
582582
break
583583
assert len(indent) == depth + 1
584584
if start[1] not in indent_chances:
585-
# allow to line up tokens
585+
# allow lining up tokens
586586
indent_chances[start[1]] = text
587587

588588
last_token_multiline = (start[0] != end[0])

testsuite/test_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ def test_styleguide(self):
137137
self.reset()
138138

139139
def test_styleguide_options(self):
140-
# Instanciate a simple checker
140+
# Instantiate a simple checker
141141
pep8style = pep8.StyleGuide(paths=[E11])
142142

143143
# Check style's attributes

0 commit comments

Comments
 (0)