Skip to content

Commit 7ffd648

Browse files
committed
Reverted a few spelling changes
Based on feedback on pull request #534 on GitHub Closes #534
1 parent adcb3a2 commit 7ffd648

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

pycodestyle.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@
122122
LAMBDA_REGEX = re.compile(r'\blambda\b')
123123
HUNK_REGEX = re.compile(r'^@@ -\d+(?:,\d+)? \+(\d+)(?:,(\d+))? @@.*$')
124124

125-
# Work around Python < 2.6 behavior, which does not generate NL after
125+
# Work around Python < 2.6 behaviour, which does not generate NL after
126126
# a comment which is on a line by itself.
127127
COMMENT_WITH_NL = tokenize.generate_tokens(['#\n'].pop).send(None)[1] == '#\n'
128128

testsuite/test_api.py

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

140140
def test_styleguide_options(self):
141-
# Instanstiate a simple checker
141+
# Instantiate a simple checker
142142
pep8style = pycodestyle.StyleGuide(paths=[E11])
143143

144144
# Check style's attributes

0 commit comments

Comments
 (0)