[
https://issues.apache.org/jira/browse/THRIFT-4371?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
James E. King, III updated THRIFT-4371:
---------------------------------------
Description:
One of the travis CI build jobs runs {{build/docker/scripts/sca.sh}} in the
ubuntu-artful docker image. It was recently updated to make precross before
doing cppcheck and flake8 analysis, and that in turn resulted in discovery of
issues in the generated code that needs to be investigated and fixed. For
example here is the output from ThriftTest.thrift generated code:
{noformat}
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:9:1: F401 'TException'
imported but unused
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:9:1: F401 'TFrozenDict'
imported but unused
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:10:1: F401
'TProtocolException' imported but unused
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:14:1: F403 'from ttypes
import *' used; unable to detect undefined names
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:52:101: E501 line too
long (117 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:107:101: E501 line too
long (106 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:129:101: E501 line too
long (101 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:141:101: E501 line too
long (108 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:202:101: E501 line too
long (103 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:235:101: E501 line too
long (107 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:265:101: E501 line too
long (102 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:266:101: E501 line too
long (129 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:356:101: E501 line too
long (110 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:391:101: E501 line too
long (108 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:396:101: E501 line too
long (117 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:427:101: E501 line too
long (108 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:462:101: E501 line too
long (107 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:497:101: E501 line too
long (107 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:532:101: E501 line too
long (110 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:567:101: E501 line too
long (110 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:571:101: E501 line too
long (106 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:602:101: E501 line too
long (110 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:637:101: E501 line too
long (108 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:641:101: E501 line too
long (101 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:673:101: E501 line too
long (107 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:677:101: E501 line too
long (108 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:709:101: E501 line too
long (113 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:745:101: E501 line too
long (107 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:781:101: E501 line too
long (108 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:816:101: E501 line too
long (108 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:851:101: E501 line too
long (111 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:858:101: E501 line too
long (103 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:887:101: E501 line too
long (110 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:928:101: E501 line too
long (112 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:939:101: E501 line too
long (107 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:979:101: E501 line too
long (109 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:1022:101: E501 line too
long (102 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:1023:101: E501 line too
long (129 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:1060:101: E501 line too
long (118 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:1115:101: E501 line too
long (107 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:1473:101: E501 line too
long (118 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:1496:16: F999 Xception
may be undefined, or defined from star imports: ttypes
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:1518:16: F999 Xception
may be undefined, or defined from star imports: ttypes
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:1521:16: F999 Xception2
may be undefined, or defined from star imports: ttypes
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:1550:5: E303 too many
blank lines (2)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:1551:101: E501 line too
long (134 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:1593:5: E303 too many
blank lines (2)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:1594:101: E501 line too
long (134 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:1640:5: E303 too many
blank lines (2)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:1644:101: E501 line too
long (134 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:1701:5: E303 too many
blank lines (2)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:1705:101: E501 line too
long (134 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:1761:5: E303 too many
blank lines (2)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:1765:101: E501 line too
long (134 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:1822:5: E303 too many
blank lines (2)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:1826:101: E501 line too
long (134 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:1882:5: E303 too many
blank lines (2)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:1886:101: E501 line too
long (134 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:1943:5: E303 too many
blank lines (2)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:1947:101: E501 line too
long (134 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:2003:5: E303 too many
blank lines (2)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:2007:101: E501 line too
long (134 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:2064:5: E303 too many
blank lines (2)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:2068:101: E501 line too
long (134 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:2124:5: E303 too many
blank lines (2)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:2128:101: E501 line too
long (134 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:2185:5: E303 too many
blank lines (2)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:2189:101: E501 line too
long (134 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:2245:5: E303 too many
blank lines (2)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:2249:101: E501 line too
long (134 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:2306:5: E303 too many
blank lines (2)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:2310:101: E501 line too
long (134 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:2366:5: E303 too many
blank lines (2)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:2370:101: E501 line too
long (134 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:2427:5: E303 too many
blank lines (2)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:2431:101: E501 line too
long (134 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:2487:5: E303 too many
blank lines (2)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:2491:101: E501 line too
long (134 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:2501:34: F999 Xtruct may
be undefined, or defined from star imports: ttypes
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:2538:33: F999 Xtruct may
be undefined, or defined from star imports: ttypes
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:2549:5: E303 too many
blank lines (2)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:2553:101: E501 line too
long (134 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:2563:36: F999 Xtruct may
be undefined, or defined from star imports: ttypes
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:2599:35: F999 Xtruct may
be undefined, or defined from star imports: ttypes
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:2610:5: E303 too many
blank lines (2)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:2614:101: E501 line too
long (134 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:2624:34: F999 Xtruct2
may be undefined, or defined from star imports: ttypes
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:2661:33: F999 Xtruct2
may be undefined, or defined from star imports: ttypes
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:2672:5: E303 too many
blank lines (2)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:2676:101: E501 line too
long (134 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:2686:36: F999 Xtruct2
may be undefined, or defined from star imports: ttypes
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:2722:35: F999 Xtruct2
may be undefined, or defined from star imports: ttypes
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:2733:5: E303 too many
blank lines (2)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:2737:101: E501 line too
long (134 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:2804:5: E303 too many
blank lines (2)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:2808:101: E501 line too
long (134 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:2874:5: E303 too many
blank lines (2)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:2878:101: E501 line too
long (134 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:2945:5: E303 too many
blank lines (2)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:2949:101: E501 line too
long (134 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:3015:5: E303 too many
blank lines (2)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:3019:101: E501 line too
long (134 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:3084:5: E303 too many
blank lines (2)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:3088:101: E501 line too
long (134 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:3152:5: E303 too many
blank lines (2)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:3156:101: E501 line too
long (134 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:3221:5: E303 too many
blank lines (2)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:3225:101: E501 line too
long (134 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:3289:5: E303 too many
blank lines (2)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:3293:101: E501 line too
long (134 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:3350:5: E303 too many
blank lines (2)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:3354:101: E501 line too
long (134 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:3410:5: E303 too many
blank lines (2)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:3414:101: E501 line too
long (134 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:3471:5: E303 too many
blank lines (2)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:3475:101: E501 line too
long (134 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:3531:5: E303 too many
blank lines (2)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:3535:101: E501 line too
long (134 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:3592:5: E303 too many
blank lines (2)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:3596:101: E501 line too
long (134 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:3661:101: E501 line too
long (123 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:3672:5: E303 too many
blank lines (2)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:3676:101: E501 line too
long (134 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:3686:37: F999 Insanity
may be undefined, or defined from star imports: ttypes
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:3722:36: F999 Insanity
may be undefined, or defined from star imports: ttypes
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:3733:5: E303 too many
blank lines (2)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:3737:101: E501 line too
long (134 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:3755:39: F999 Insanity
may be undefined, or defined from star imports: ttypes
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:3802:93: F999 Insanity
may be undefined, or defined from star imports: ttypes
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:3802:101: E501 line too
long (138 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:3818:5: E303 too many
blank lines (2)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:3827:101: E501 line too
long (134 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:3944:5: E303 too many
blank lines (2)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:3948:101: E501 line too
long (134 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:3958:36: F999 Xtruct may
be undefined, or defined from star imports: ttypes
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:3994:35: F999 Xtruct may
be undefined, or defined from star imports: ttypes
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:4005:5: E303 too many
blank lines (2)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:4009:101: E501 line too
long (134 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:4066:5: E303 too many
blank lines (2)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:4070:101: E501 line too
long (134 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:4080:33: F999 Xception
may be undefined, or defined from star imports: ttypes
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:4117:32: F999 Xception
may be undefined, or defined from star imports: ttypes
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:4129:5: E303 too many
blank lines (2)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:4134:101: E501 line too
long (134 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:4203:5: E303 too many
blank lines (2)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:4209:101: E501 line too
long (134 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:4219:36: F999 Xtruct may
be undefined, or defined from star imports: ttypes
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:4225:33: F999 Xception
may be undefined, or defined from star imports: ttypes
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:4231:33: F999 Xception2
may be undefined, or defined from star imports: ttypes
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:4275:35: F999 Xtruct may
be undefined, or defined from star imports: ttypes
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:4276:32: F999 Xception
may be undefined, or defined from star imports: ttypes
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:4277:32: F999 Xception2
may be undefined, or defined from star imports: ttypes
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:4288:5: E303 too many
blank lines (2)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:4292:101: E501 line too
long (134 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:4342:1: W391 blank line
at end of file
test/py/gen-py-no_utf8strings/ThriftTest/constants.py:9:1: F401
'TApplicationException' imported but unused
test/py/gen-py-no_utf8strings/ThriftTest/constants.py:9:1: F401 'TException'
imported but unused
test/py/gen-py-no_utf8strings/ThriftTest/constants.py:9:1: F401 'TFrozenDict'
imported but unused
test/py/gen-py-no_utf8strings/ThriftTest/constants.py:9:1: F401 'TMessageType'
imported but unused
test/py/gen-py-no_utf8strings/ThriftTest/constants.py:9:1: F401 'TType'
imported but unused
test/py/gen-py-no_utf8strings/ThriftTest/constants.py:10:1: F401
'TProtocolException' imported but unused
test/py/gen-py-no_utf8strings/ThriftTest/constants.py:11:1: F401 'fix_spec'
imported but unused
test/py/gen-py-no_utf8strings/ThriftTest/constants.py:13:1: F401 'ttypes.*'
imported but unused
test/py/gen-py-no_utf8strings/ThriftTest/constants.py:13:1: F403 'from ttypes
import *' used; unable to detect undefined names
test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:9:1: F401
'TApplicationException' imported but unused
test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:9:1: F401 'TMessageType'
imported but unused
test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:56:5: E303 too many blank
lines (2)
test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:61:101: E501 line too long
(134 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:123:5: E303 too many blank
lines (2)
test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:128:101: E501 line too long
(134 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:192:5: E303 too many blank
lines (2)
test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:199:101: E501 line too long
(134 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:280:5: E303 too many blank
lines (2)
test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:286:101: E501 line too long
(134 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:360:5: E303 too many blank
lines (2)
test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:367:101: E501 line too long
(134 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:447:5: E303 too many blank
lines (2)
test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:462:101: E501 line too long
(133 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:548:5: E303 too many blank
lines (2)
test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:555:101: E501 line too long
(134 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:713:5: E303 too many blank
lines (2)
test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:713:101: E501 line too long
(115 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:721:101: E501 line too long
(134 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:821:5: E303 too many blank
lines (2)
test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:826:101: E501 line too long
(134 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:891:5: E303 too many blank
lines (2)
test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:896:101: E501 line too long
(134 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:957:5: E303 too many blank
lines (2)
test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:958:101: E501 line too long
(134 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:1001:5: E303 too many blank
lines (2)
test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:1005:101: E501 line too long
(134 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:1060:5: E303 too many blank
lines (2)
test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:1066:101: E501 line too long
(134 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:1147:5: E303 too many blank
lines (2)
test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:1147:101: E501 line too long
(206 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:1162:101: E501 line too long
(134 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:1341:5: E303 too many blank
lines (2)
test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:1346:101: E501 line too long
(134 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:1416:5: E303 too many blank
lines (2)
test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:1421:101: E501 line too long
(134 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:1490:5: E303 too many blank
lines (2)
test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:1494:101: E501 line too long
(134 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:1565:5: E303 too many blank
lines (2)
test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:1565:101: E501 line too long
(169 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:1578:101: E501 line too long
(134 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:1733:5: E303 too many blank
lines (2)
test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:1737:101: E501 line too long
(134 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:1805:5: E303 too many blank
lines (2)
test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:1809:101: E501 line too long
(134 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:1887:5: E303 too many blank
lines (2)
test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:1893:101: E501 line too long
(134 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:2023:5: E303 too many blank
lines (2)
test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:2027:101: E501 line too long
(134 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:2088:5: E303 too many blank
lines (2)
test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:2092:101: E501 line too long
(134 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:2170:5: E303 too many blank
lines (2)
test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:2175:101: E501 line too long
(134 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:2236:5: E303 too many blank
lines (2)
test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:2240:101: E501 line too long
(134 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:2295:5: E303 too many blank
lines (2)
test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:2300:101: E501 line too long
(134 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:2416:101: E501 line too long
(260 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:6515:101: E501 line too long
(116 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:6521:101: E501 line too long
(116 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:6522:101: E501 line too long
(142 > 100 characters)
test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:6532:101: E501 line too long
(120 > 100 characters)
{noformat}
was:One of the travis CI build jobs runs {{build/docker/scripts/sca.sh}} in
the ubuntu-artful docker image. It was recently updated to make precross
before doing cppcheck and flake8 analysis, and that in turn resulted in
discovery of issues in the generated code that needs to be investigated and
fixed.
> cppcheck, flake8 detecting issues in generated code using ubuntu-artful
> docker image
> ------------------------------------------------------------------------------------
>
> Key: THRIFT-4371
> URL: https://issues.apache.org/jira/browse/THRIFT-4371
> Project: Thrift
> Issue Type: Bug
> Components: C++ - Compiler, Python - Compiler
> Affects Versions: 0.11.0
> Environment: docker ubuntu-artful
> Reporter: James E. King, III
> Priority: Minor
>
> One of the travis CI build jobs runs {{build/docker/scripts/sca.sh}} in the
> ubuntu-artful docker image. It was recently updated to make precross before
> doing cppcheck and flake8 analysis, and that in turn resulted in discovery of
> issues in the generated code that needs to be investigated and fixed. For
> example here is the output from ThriftTest.thrift generated code:
> {noformat}
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:9:1: F401 'TException'
> imported but unused
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:9:1: F401
> 'TFrozenDict' imported but unused
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:10:1: F401
> 'TProtocolException' imported but unused
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:14:1: F403 'from
> ttypes import *' used; unable to detect undefined names
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:52:101: E501 line too
> long (117 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:107:101: E501 line too
> long (106 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:129:101: E501 line too
> long (101 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:141:101: E501 line too
> long (108 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:202:101: E501 line too
> long (103 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:235:101: E501 line too
> long (107 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:265:101: E501 line too
> long (102 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:266:101: E501 line too
> long (129 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:356:101: E501 line too
> long (110 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:391:101: E501 line too
> long (108 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:396:101: E501 line too
> long (117 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:427:101: E501 line too
> long (108 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:462:101: E501 line too
> long (107 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:497:101: E501 line too
> long (107 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:532:101: E501 line too
> long (110 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:567:101: E501 line too
> long (110 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:571:101: E501 line too
> long (106 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:602:101: E501 line too
> long (110 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:637:101: E501 line too
> long (108 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:641:101: E501 line too
> long (101 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:673:101: E501 line too
> long (107 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:677:101: E501 line too
> long (108 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:709:101: E501 line too
> long (113 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:745:101: E501 line too
> long (107 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:781:101: E501 line too
> long (108 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:816:101: E501 line too
> long (108 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:851:101: E501 line too
> long (111 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:858:101: E501 line too
> long (103 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:887:101: E501 line too
> long (110 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:928:101: E501 line too
> long (112 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:939:101: E501 line too
> long (107 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:979:101: E501 line too
> long (109 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:1022:101: E501 line
> too long (102 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:1023:101: E501 line
> too long (129 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:1060:101: E501 line
> too long (118 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:1115:101: E501 line
> too long (107 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:1473:101: E501 line
> too long (118 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:1496:16: F999 Xception
> may be undefined, or defined from star imports: ttypes
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:1518:16: F999 Xception
> may be undefined, or defined from star imports: ttypes
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:1521:16: F999
> Xception2 may be undefined, or defined from star imports: ttypes
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:1550:5: E303 too many
> blank lines (2)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:1551:101: E501 line
> too long (134 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:1593:5: E303 too many
> blank lines (2)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:1594:101: E501 line
> too long (134 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:1640:5: E303 too many
> blank lines (2)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:1644:101: E501 line
> too long (134 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:1701:5: E303 too many
> blank lines (2)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:1705:101: E501 line
> too long (134 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:1761:5: E303 too many
> blank lines (2)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:1765:101: E501 line
> too long (134 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:1822:5: E303 too many
> blank lines (2)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:1826:101: E501 line
> too long (134 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:1882:5: E303 too many
> blank lines (2)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:1886:101: E501 line
> too long (134 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:1943:5: E303 too many
> blank lines (2)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:1947:101: E501 line
> too long (134 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:2003:5: E303 too many
> blank lines (2)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:2007:101: E501 line
> too long (134 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:2064:5: E303 too many
> blank lines (2)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:2068:101: E501 line
> too long (134 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:2124:5: E303 too many
> blank lines (2)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:2128:101: E501 line
> too long (134 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:2185:5: E303 too many
> blank lines (2)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:2189:101: E501 line
> too long (134 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:2245:5: E303 too many
> blank lines (2)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:2249:101: E501 line
> too long (134 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:2306:5: E303 too many
> blank lines (2)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:2310:101: E501 line
> too long (134 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:2366:5: E303 too many
> blank lines (2)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:2370:101: E501 line
> too long (134 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:2427:5: E303 too many
> blank lines (2)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:2431:101: E501 line
> too long (134 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:2487:5: E303 too many
> blank lines (2)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:2491:101: E501 line
> too long (134 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:2501:34: F999 Xtruct
> may be undefined, or defined from star imports: ttypes
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:2538:33: F999 Xtruct
> may be undefined, or defined from star imports: ttypes
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:2549:5: E303 too many
> blank lines (2)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:2553:101: E501 line
> too long (134 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:2563:36: F999 Xtruct
> may be undefined, or defined from star imports: ttypes
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:2599:35: F999 Xtruct
> may be undefined, or defined from star imports: ttypes
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:2610:5: E303 too many
> blank lines (2)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:2614:101: E501 line
> too long (134 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:2624:34: F999 Xtruct2
> may be undefined, or defined from star imports: ttypes
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:2661:33: F999 Xtruct2
> may be undefined, or defined from star imports: ttypes
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:2672:5: E303 too many
> blank lines (2)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:2676:101: E501 line
> too long (134 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:2686:36: F999 Xtruct2
> may be undefined, or defined from star imports: ttypes
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:2722:35: F999 Xtruct2
> may be undefined, or defined from star imports: ttypes
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:2733:5: E303 too many
> blank lines (2)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:2737:101: E501 line
> too long (134 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:2804:5: E303 too many
> blank lines (2)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:2808:101: E501 line
> too long (134 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:2874:5: E303 too many
> blank lines (2)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:2878:101: E501 line
> too long (134 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:2945:5: E303 too many
> blank lines (2)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:2949:101: E501 line
> too long (134 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:3015:5: E303 too many
> blank lines (2)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:3019:101: E501 line
> too long (134 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:3084:5: E303 too many
> blank lines (2)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:3088:101: E501 line
> too long (134 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:3152:5: E303 too many
> blank lines (2)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:3156:101: E501 line
> too long (134 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:3221:5: E303 too many
> blank lines (2)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:3225:101: E501 line
> too long (134 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:3289:5: E303 too many
> blank lines (2)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:3293:101: E501 line
> too long (134 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:3350:5: E303 too many
> blank lines (2)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:3354:101: E501 line
> too long (134 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:3410:5: E303 too many
> blank lines (2)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:3414:101: E501 line
> too long (134 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:3471:5: E303 too many
> blank lines (2)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:3475:101: E501 line
> too long (134 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:3531:5: E303 too many
> blank lines (2)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:3535:101: E501 line
> too long (134 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:3592:5: E303 too many
> blank lines (2)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:3596:101: E501 line
> too long (134 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:3661:101: E501 line
> too long (123 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:3672:5: E303 too many
> blank lines (2)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:3676:101: E501 line
> too long (134 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:3686:37: F999 Insanity
> may be undefined, or defined from star imports: ttypes
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:3722:36: F999 Insanity
> may be undefined, or defined from star imports: ttypes
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:3733:5: E303 too many
> blank lines (2)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:3737:101: E501 line
> too long (134 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:3755:39: F999 Insanity
> may be undefined, or defined from star imports: ttypes
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:3802:93: F999 Insanity
> may be undefined, or defined from star imports: ttypes
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:3802:101: E501 line
> too long (138 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:3818:5: E303 too many
> blank lines (2)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:3827:101: E501 line
> too long (134 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:3944:5: E303 too many
> blank lines (2)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:3948:101: E501 line
> too long (134 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:3958:36: F999 Xtruct
> may be undefined, or defined from star imports: ttypes
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:3994:35: F999 Xtruct
> may be undefined, or defined from star imports: ttypes
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:4005:5: E303 too many
> blank lines (2)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:4009:101: E501 line
> too long (134 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:4066:5: E303 too many
> blank lines (2)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:4070:101: E501 line
> too long (134 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:4080:33: F999 Xception
> may be undefined, or defined from star imports: ttypes
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:4117:32: F999 Xception
> may be undefined, or defined from star imports: ttypes
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:4129:5: E303 too many
> blank lines (2)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:4134:101: E501 line
> too long (134 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:4203:5: E303 too many
> blank lines (2)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:4209:101: E501 line
> too long (134 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:4219:36: F999 Xtruct
> may be undefined, or defined from star imports: ttypes
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:4225:33: F999 Xception
> may be undefined, or defined from star imports: ttypes
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:4231:33: F999
> Xception2 may be undefined, or defined from star imports: ttypes
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:4275:35: F999 Xtruct
> may be undefined, or defined from star imports: ttypes
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:4276:32: F999 Xception
> may be undefined, or defined from star imports: ttypes
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:4277:32: F999
> Xception2 may be undefined, or defined from star imports: ttypes
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:4288:5: E303 too many
> blank lines (2)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:4292:101: E501 line
> too long (134 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ThriftTest.py:4342:1: W391 blank
> line at end of file
> test/py/gen-py-no_utf8strings/ThriftTest/constants.py:9:1: F401
> 'TApplicationException' imported but unused
> test/py/gen-py-no_utf8strings/ThriftTest/constants.py:9:1: F401 'TException'
> imported but unused
> test/py/gen-py-no_utf8strings/ThriftTest/constants.py:9:1: F401 'TFrozenDict'
> imported but unused
> test/py/gen-py-no_utf8strings/ThriftTest/constants.py:9:1: F401
> 'TMessageType' imported but unused
> test/py/gen-py-no_utf8strings/ThriftTest/constants.py:9:1: F401 'TType'
> imported but unused
> test/py/gen-py-no_utf8strings/ThriftTest/constants.py:10:1: F401
> 'TProtocolException' imported but unused
> test/py/gen-py-no_utf8strings/ThriftTest/constants.py:11:1: F401 'fix_spec'
> imported but unused
> test/py/gen-py-no_utf8strings/ThriftTest/constants.py:13:1: F401 'ttypes.*'
> imported but unused
> test/py/gen-py-no_utf8strings/ThriftTest/constants.py:13:1: F403 'from ttypes
> import *' used; unable to detect undefined names
> test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:9:1: F401
> 'TApplicationException' imported but unused
> test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:9:1: F401 'TMessageType'
> imported but unused
> test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:56:5: E303 too many blank
> lines (2)
> test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:61:101: E501 line too long
> (134 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:123:5: E303 too many blank
> lines (2)
> test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:128:101: E501 line too
> long (134 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:192:5: E303 too many blank
> lines (2)
> test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:199:101: E501 line too
> long (134 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:280:5: E303 too many blank
> lines (2)
> test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:286:101: E501 line too
> long (134 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:360:5: E303 too many blank
> lines (2)
> test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:367:101: E501 line too
> long (134 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:447:5: E303 too many blank
> lines (2)
> test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:462:101: E501 line too
> long (133 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:548:5: E303 too many blank
> lines (2)
> test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:555:101: E501 line too
> long (134 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:713:5: E303 too many blank
> lines (2)
> test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:713:101: E501 line too
> long (115 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:721:101: E501 line too
> long (134 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:821:5: E303 too many blank
> lines (2)
> test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:826:101: E501 line too
> long (134 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:891:5: E303 too many blank
> lines (2)
> test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:896:101: E501 line too
> long (134 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:957:5: E303 too many blank
> lines (2)
> test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:958:101: E501 line too
> long (134 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:1001:5: E303 too many
> blank lines (2)
> test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:1005:101: E501 line too
> long (134 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:1060:5: E303 too many
> blank lines (2)
> test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:1066:101: E501 line too
> long (134 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:1147:5: E303 too many
> blank lines (2)
> test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:1147:101: E501 line too
> long (206 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:1162:101: E501 line too
> long (134 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:1341:5: E303 too many
> blank lines (2)
> test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:1346:101: E501 line too
> long (134 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:1416:5: E303 too many
> blank lines (2)
> test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:1421:101: E501 line too
> long (134 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:1490:5: E303 too many
> blank lines (2)
> test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:1494:101: E501 line too
> long (134 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:1565:5: E303 too many
> blank lines (2)
> test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:1565:101: E501 line too
> long (169 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:1578:101: E501 line too
> long (134 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:1733:5: E303 too many
> blank lines (2)
> test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:1737:101: E501 line too
> long (134 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:1805:5: E303 too many
> blank lines (2)
> test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:1809:101: E501 line too
> long (134 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:1887:5: E303 too many
> blank lines (2)
> test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:1893:101: E501 line too
> long (134 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:2023:5: E303 too many
> blank lines (2)
> test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:2027:101: E501 line too
> long (134 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:2088:5: E303 too many
> blank lines (2)
> test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:2092:101: E501 line too
> long (134 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:2170:5: E303 too many
> blank lines (2)
> test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:2175:101: E501 line too
> long (134 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:2236:5: E303 too many
> blank lines (2)
> test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:2240:101: E501 line too
> long (134 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:2295:5: E303 too many
> blank lines (2)
> test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:2300:101: E501 line too
> long (134 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:2416:101: E501 line too
> long (260 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:6515:101: E501 line too
> long (116 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:6521:101: E501 line too
> long (116 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:6522:101: E501 line too
> long (142 > 100 characters)
> test/py/gen-py-no_utf8strings/ThriftTest/ttypes.py:6532:101: E501 line too
> long (120 > 100 characters)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)