check_source.sh: add E301 check to the list of selected PEP8 errors
authorAndrey Skvortsov <andrej.skvortzov@gmail.com>
Sat, 29 Sep 2018 15:41:20 +0300
changeset 2388 13acfd8d33e6
parent 2387 5cf1d70b5395
child 2389 f86eefc8d378
check_source.sh: add E301 check to the list of selected PEP8 errors
tests/tools/check_source.sh
--- a/tests/tools/check_source.sh	Sat Sep 29 15:38:49 2018 +0300
+++ b/tests/tools/check_source.sh	Sat Sep 29 15:41:20 2018 +0300
@@ -116,6 +116,7 @@
     user_select=$user_select,E228   # E228 missing whitespace around modulo operator
     user_select=$user_select,W293   # W293 blank line contains whitespace
     user_select=$user_select,E302   # E302 expected 2 blank lines, found 1
+    user_select=$user_select,E301   # E301 expected 2 blank lines, found 1
     user_select=$user_select,E261   # E261 at least two spaces before inline comment
     user_select=$user_select,E271   # E271 multiple spaces after keyword
     user_select=$user_select,E231   # E231 missing whitespace after ','