summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Cordasco <sigmavirus24@users.noreply.github.com>2016-05-25 15:55:10 -0500
committerIan Cordasco <sigmavirus24@users.noreply.github.com>2016-05-25 15:55:10 -0500
commit123d99e39b9f18ee38fc4b17b692914ae04b03e9 (patch)
tree6ca1ecc394c8e9d0c4da5b7fb72647ed98a52e41
parente8ccd6726d440274c8e63001c4b9cd435277ced4 (diff)
parent481c233ffe07c13ff164bb4ce25e6791ec3e1494 (diff)
downloadpep8-123d99e39b9f18ee38fc4b17b692914ae04b03e9.tar.gz
Merge pull request #512 from jwilk/spelling
Fix spelling
-rw-r--r--CHANGES.txt6
-rwxr-xr-xpep8.py2
-rw-r--r--testsuite/test_api.py2
3 files changed, 5 insertions, 5 deletions
diff --git a/CHANGES.txt b/CHANGES.txt
index d25315a..d22214f 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -350,7 +350,7 @@ Bug fixes:
* Initiate a graceful shutdown on ``Control+C``.
-* Allow to change the ``checker_class`` for the ``StyleGuide``.
+* Allow changing the ``checker_class`` for the ``StyleGuide``.
1.4.2 (2013-02-10)
@@ -360,7 +360,7 @@ Bug fixes:
* Register new checkers with ``register_check(func_or_cls, codes)``.
-* Allow to construct a ``StyleGuide`` with a custom parser.
+* Allow constructing a ``StyleGuide`` with a custom parser.
* Accept visual indentation without parenthesis after the ``if``
statement. (Issue #151)
@@ -569,7 +569,7 @@ Bug fixes:
The ``--repeat`` flag becomes obsolete because it is the default
behaviour. (Issue #6)
-* Allow to specify ``--max-line-length``. (Issue #36)
+* Allow specifying ``--max-line-length``. (Issue #36)
* Make the shebang more flexible. (Issue #26)
diff --git a/pep8.py b/pep8.py
index 0d329f3..207af15 100755
--- a/pep8.py
+++ b/pep8.py
@@ -582,7 +582,7 @@ def continued_indentation(logical_line, tokens, indent_level, hang_closing,
break
assert len(indent) == depth + 1
if start[1] not in indent_chances:
- # allow to line up tokens
+ # allow lining up tokens
indent_chances[start[1]] = text
last_token_multiline = (start[0] != end[0])
diff --git a/testsuite/test_api.py b/testsuite/test_api.py
index 0b83c4e..baafff7 100644
--- a/testsuite/test_api.py
+++ b/testsuite/test_api.py
@@ -137,7 +137,7 @@ class APITestCase(unittest.TestCase):
self.reset()
def test_styleguide_options(self):
- # Instanciate a simple checker
+ # Instantiate a simple checker
pep8style = pep8.StyleGuide(paths=[E11])
# Check style's attributes