We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents def11b9 + 06f3fa2 commit d92adb3Copy full SHA for d92adb3
test/framework/style.py
@@ -65,6 +65,10 @@ def test_style_conformance(self):
65
66
def test_check_trailing_whitespace(self):
67
"""Test for trailing whitespace check."""
68
+ if not ('pycodestyle' in sys.modules or 'pep8' in sys.modules):
69
+ print "Skipping trailing whitespace checks (no pycodestyle or pep8 available)"
70
+ return
71
+
72
lines = [
73
"name = 'foo'", # no trailing whitespace
74
"version = '1.2.3' ", # trailing whitespace
0 commit comments