diff options
-rwxr-xr-x | pycodestyle.py | 2 | ||||
-rw-r--r-- | testsuite/test_api.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/pycodestyle.py b/pycodestyle.py index 16cf8e2..1de3c2b 100755 --- a/pycodestyle.py +++ b/pycodestyle.py @@ -122,7 +122,7 @@ OPERATOR_REGEX = re.compile(r'(?:[^,\s])(\s*)(?:[-+*/|!<=>%&^]+)(\s*)') LAMBDA_REGEX = re.compile(r'\blambda\b') HUNK_REGEX = re.compile(r'^@@ -\d+(?:,\d+)? \+(\d+)(?:,(\d+))? @@.*$') -# Work around Python < 2.6 behavior, which does not generate NL after +# Work around Python < 2.6 behaviour, which does not generate NL after # a comment which is on a line by itself. COMMENT_WITH_NL = tokenize.generate_tokens(['#\n'].pop).send(None)[1] == '#\n' diff --git a/testsuite/test_api.py b/testsuite/test_api.py index 2eb5cf3..4d8b7b2 100644 --- a/testsuite/test_api.py +++ b/testsuite/test_api.py @@ -138,7 +138,7 @@ class APITestCase(unittest.TestCase): self.reset() def test_styleguide_options(self): - # Instanstiate a simple checker + # Instantiate a simple checker pep8style = pycodestyle.StyleGuide(paths=[E11]) # Check style's attributes |