We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent adcb3a2 commit 7ffd648Copy full SHA for 7ffd648
2 files changed
pycodestyle.py
@@ -122,7 +122,7 @@
122
LAMBDA_REGEX = re.compile(r'\blambda\b')
123
HUNK_REGEX = re.compile(r'^@@ -\d+(?:,\d+)? \+(\d+)(?:,(\d+))? @@.*$')
124
125
-# Work around Python < 2.6 behavior, which does not generate NL after
+# Work around Python < 2.6 behaviour, which does not generate NL after
126
# a comment which is on a line by itself.
127
COMMENT_WITH_NL = tokenize.generate_tokens(['#\n'].pop).send(None)[1] == '#\n'
128
testsuite/test_api.py
@@ -138,7 +138,7 @@ def test_styleguide(self):
138
self.reset()
139
140
def test_styleguide_options(self):
141
- # Instanstiate a simple checker
+ # Instantiate a simple checker
142
pep8style = pycodestyle.StyleGuide(paths=[E11])
143
144
# Check style's attributes
0 commit comments