cowrie/setup.py

71 lines
2.0 KiB
Python
Raw Normal View History

2018-02-04 18:43:42 +00:00
#!/usr/bin/env python
from setuptools import setup
2018-02-04 18:43:42 +00:00
Fixing flake8 E2 (#796) * flake8 E2 cowrie/insults/insults.py flake8 --count --select=E1,E2 --statistics cowrie/insults/insults.py cowrie/insults/insults.py:51:28: E261 at least two spaces before inline comment cowrie/insults/insults.py:53:28: E261 at least two spaces before inline comment cowrie/insults/insults.py:86:14: E261 at least two spaces before inline comment cowrie/insults/insults.py:86:15: E262 inline comment should start with '# ' cowrie/insults/insults.py:115:13: E265 block comment should start with '# ' cowrie/insults/insults.py:181:47: E226 missing whitespace around arithmetic operator cowrie/insults/insults.py:215:41: E226 missing whitespace around arithmetic operator 2 E226 missing whitespace around arithmetic operator 3 E261 at least two spaces before inline comment 1 E262 inline comment should start with '# ' 1 E265 block comment should start with '# ' 7 * flake8 E2 cowrie/telnet/session.py flake8 --count --select=E1,E2 --statistics cowrie/telnet/session.py cowrie/telnet/session.py:28:11: E261 at least two spaces before inline comment cowrie/telnet/session.py:116:5: E265 block comment should start with '# ' 1 E261 at least two spaces before inline comment 1 E265 block comment should start with '# ' 2 * flake8 E2 cowrie/telnet/transport.py flake8 --count --select=E1,E2 --statistics cowrie/telnet/transport.py cowrie/telnet/transport.py:36:32: E226 missing whitespace around arithmetic operator cowrie/telnet/transport.py:108:9: E265 block comment should start with '# ' cowrie/telnet/transport.py:144:53: E226 missing whitespace around arithmetic operator cowrie/telnet/transport.py:197:13: E265 block comment should start with '# ' cowrie/telnet/transport.py:207:13: E265 block comment should start with '# ' cowrie/telnet/transport.py:208:13: E265 block comment should start with '# ' cowrie/telnet/transport.py:237:30: E226 missing whitespace around arithmetic operator 3 E226 missing whitespace around arithmetic operator 4 E265 block comment should start with '# ' 7 * flake8 E2 cowrie/dblog/xmpp.py lake8 --count --select=E1,E2 --statistics cowrie/dblog/xmpp.py cowrie/dblog/xmpp.py:20:20: E221 multiple spaces before operator cowrie/dblog/xmpp.py:25:18: E221 multiple spaces before operator cowrie/dblog/xmpp.py:26:18: E221 multiple spaces before operator cowrie/dblog/xmpp.py:38:29: E202 whitespace before ')' cowrie/dblog/xmpp.py:44:32: E202 whitespace before ')' cowrie/dblog/xmpp.py:66:15: E221 multiple spaces before operator cowrie/dblog/xmpp.py:67:13: E221 multiple spaces before operator cowrie/dblog/xmpp.py:68:17: E221 multiple spaces before operator cowrie/dblog/xmpp.py:69:12: E221 multiple spaces before operator cowrie/dblog/xmpp.py:81:54: E231 missing whitespace after ',' cowrie/dblog/xmpp.py:81:59: E231 missing whitespace after ',' cowrie/dblog/xmpp.py:81:66: E231 missing whitespace after ',' cowrie/dblog/xmpp.py:88:46: E261 at least two spaces before inline comment cowrie/dblog/xmpp.py:103:84: E203 whitespace before ',' cowrie/dblog/xmpp.py:109:33: E231 missing whitespace after ',' cowrie/dblog/xmpp.py:161:21: E221 multiple spaces before operator 2 E202 whitespace before ')' 1 E203 whitespace before ',' 8 E221 multiple spaces before operator 4 E231 missing whitespace after ',' 1 E261 at least two spaces before inline comment 16 * flake8 E2 cowrie/commands/ping.py flake8 --count --select=E1,E2 --statistics cowrie/commands/ping.py cowrie/commands/ping.py:57:21: E225 missing whitespace around operator cowrie/commands/ping.py:64:29: E226 missing whitespace around arithmetic operator 1 E225 missing whitespace around operator 1 E226 missing whitespace around arithmetic operator 2 * flake8 E2 cowrie/commands/base.py flake8 --count --select=E1,E2 --statistics cowrie/commands/base.py ./cowrie/commands/base.py:29:47: E226 missing whitespace around arithmetic operator ./cowrie/commands/base.py:115:45: E231 missing whitespace after ',' ./cowrie/commands/base.py:246:46: E226 missing whitespace around arithmetic operator ./cowrie/commands/base.py:313:25: E226 missing whitespace around arithmetic operator ./cowrie/commands/base.py:402:29: E226 missing whitespace around arithmetic operator ./cowrie/commands/base.py:495:61: E226 missing whitespace around arithmetic operator ./cowrie/commands/base.py:511:43: E226 missing whitespace around arithmetic operator ./cowrie/commands/base.py:596:29: E226 missing whitespace around arithmetic operator ./cowrie/commands/base.py:640:29: E226 missing whitespace around arithmetic operator 8 E226 missing whitespace around arithmetic operator 1 E231 missing whitespace after ',' 9 * flake8 E2 setup.py flake8 --count --select=E1,E2 --statistics setup.py ./setup.py:5:6: E211 whitespace before '(' ./setup.py:6:9: E251 unexpected spaces around keyword / parameter equals ./setup.py:6:9: E221 multiple spaces before operator ./setup.py:6:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:7:12: E251 unexpected spaces around keyword / parameter equals ./setup.py:7:12: E221 multiple spaces before operator ./setup.py:7:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:8:16: E251 unexpected spaces around keyword / parameter equals ./setup.py:8:16: E221 multiple spaces before operator ./setup.py:8:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:9:15: E251 unexpected spaces around keyword / parameter equals ./setup.py:9:15: E221 multiple spaces before operator ./setup.py:9:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:10:21: E251 unexpected spaces around keyword / parameter equals ./setup.py:10:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:11:13: E251 unexpected spaces around keyword / parameter equals ./setup.py:11:13: E221 multiple spaces before operator ./setup.py:11:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:12:8: E251 unexpected spaces around keyword / parameter equals ./setup.py:12:8: E221 multiple spaces before operator ./setup.py:12:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:13:13: E251 unexpected spaces around keyword / parameter equals ./setup.py:13:13: E221 multiple spaces before operator ./setup.py:13:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:15:17: E251 unexpected spaces around keyword / parameter equals ./setup.py:15:17: E221 multiple spaces before operator ./setup.py:15:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:15:25: E201 whitespace after '{' ./setup.py:15:38: E202 whitespace before '}' ./setup.py:16:12: E251 unexpected spaces around keyword / parameter equals ./setup.py:16:12: E221 multiple spaces before operator ./setup.py:16:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:21:21: E251 unexpected spaces around keyword / parameter equals ./setup.py:21:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:35:17: E251 unexpected spaces around keyword / parameter equals ./setup.py:35:17: E221 multiple spaces before operator ./setup.py:35:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:38:19: E251 unexpected spaces around keyword / parameter equals ./setup.py:38:19: E221 multiple spaces before operator ./setup.py:38:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:38:25: E201 whitespace after '{' 1 E127 continuation line over-indented for visual indent 1 E201 whitespace after '{' 1 E202 whitespace before '}' 1 E211 whitespace before '(' 26 E251 unexpected spaces around keyword / parameter equals 30 * flake8 E2 cowrie/shell/protocol.py flake8 --count --select=E1,E2 --statistics cowrie/shell/protocol.py cowrie/shell/protocol.py:63:119: E231 missing whitespace after ',' cowrie/shell/protocol.py:63:129: E231 missing whitespace after ',' cowrie/shell/protocol.py:139:29: E261 at least two spaces before inline comment cowrie/shell/protocol.py:146:9: E265 block comment should start with '# ' cowrie/shell/protocol.py:231:9: E265 block comment should start with '# ' cowrie/shell/protocol.py:309:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:309:43: E261 at least two spaces before inline comment cowrie/shell/protocol.py:310:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:310:43: E261 at least two spaces before inline comment cowrie/shell/protocol.py:311:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:311:45: E261 at least two spaces before inline comment cowrie/shell/protocol.py:312:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:312:45: E261 at least two spaces before inline comment cowrie/shell/protocol.py:313:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:313:42: E261 at least two spaces before inline comment cowrie/shell/protocol.py:314:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:314:44: E261 at least two spaces before inline comment cowrie/shell/protocol.py:315:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:315:48: E261 at least two spaces before inline comment cowrie/shell/protocol.py:316:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:317:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:317:45: E261 at least two spaces before inline comment cowrie/shell/protocol.py:318:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:318:45: E261 at least two spaces before inline comment cowrie/shell/protocol.py:319:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:319:43: E261 at least two spaces before inline comment cowrie/shell/protocol.py:320:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:320:41: E261 at least two spaces before inline comment cowrie/shell/protocol.py:321:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:321:45: E261 at least two spaces before inline comment cowrie/shell/protocol.py:322:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:322:45: E261 at least two spaces before inline comment cowrie/shell/protocol.py:323:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:323:42: E261 at least two spaces before inline comment cowrie/shell/protocol.py:331:67: E226 missing whitespace around arithmetic operator cowrie/shell/protocol.py:375:70: E226 missing whitespace around arithmetic operator 2 E226 missing whitespace around arithmetic operator 2 E231 missing whitespace after ',' 15 E241 multiple spaces after ':' 15 E261 at least two spaces before inline comment 2 E265 block comment should start with '# ' 36 * flake8 E2 cowrie/commands/scp.py flake8 --count --select=E1,E2 --statistics cowrie/commands/scp.py cowrie/commands/scp.py:235:48: E226 missing whitespace around arithmetic operator 1 E226 missing whitespace around arithmetic operator 1 * flake8 E2 cowrie/commands/ifconfig.py flake8 --count --select=E1,E2 --statistics cowrie/commands/ifconfig.py cowrie/commands/ifconfig.py:34:21: E226 missing whitespace around arithmetic operator 1 E226 missing whitespace around arithmetic operator 1 * flake8 E2 cowrie/commands/ssh.py flake8 --count --select=E1,E2 --statistics cowrie/commands/ssh.py cowrie/commands/ssh.py:58:29: E226 missing whitespace around arithmetic operator 1 E226 missing whitespace around arithmetic operator 1 * flake8 E2 cowrie/commands/iptables.py flake8 --count --select=E1,E2 --statistics cowrie/commands/iptables.py cowrie/commands/iptables.py:69:28: E231 missing whitespace after ',' cowrie/commands/iptables.py:69:36: E231 missing whitespace after ',' cowrie/commands/iptables.py:69:42: E231 missing whitespace after ',' cowrie/commands/iptables.py:71:24: E225 missing whitespace around operator cowrie/commands/iptables.py:74:24: E225 missing whitespace around operator cowrie/commands/iptables.py:75:38: E231 missing whitespace after ',' cowrie/commands/iptables.py:75:50: E231 missing whitespace after ',' cowrie/commands/iptables.py:320:41: E226 missing whitespace around arithmetic operator cowrie/commands/iptables.py:359:43: E226 missing whitespace around arithmetic operator 2 E225 missing whitespace around operator 2 E226 missing whitespace around arithmetic operator 5 E231 missing whitespace after ',' 9 * flake8 E2 cowrie/commands/python.py flake8 --count --select=E1,E2 --statistics cowrie/commands/python.py cowrie/commands/python.py:83:45: E222 multiple spaces after operator 1 E222 multiple spaces after operator 1 * flake8 E2 cowrie/commands/apt.py flake8 --count --select=E1,E2 --statistics cowrie/commands/apt.py cowrie/commands/apt.py:42:32: E251 unexpected spaces around keyword / parameter equals cowrie/commands/apt.py:42:34: E251 unexpected spaces around keyword / parameter equals cowrie/commands/apt.py:113:24: E231 missing whitespace after ',' cowrie/commands/apt.py:115:112: E231 missing whitespace after ',' cowrie/commands/apt.py:122:27: E241 multiple spaces after ':' cowrie/commands/apt.py:126:24: E241 multiple spaces after ':' 2 E231 missing whitespace after ',' 2 E241 multiple spaces after ':' 2 E251 unexpected spaces around keyword / parameter equals 6 * flake8 E2 cowrie/commands/fs.py flake8 --count --select=E1,E2 --statistics cowrie/commands/fs.py cowrie/commands/fs.py:36:35: E231 missing whitespace after ',' cowrie/commands/fs.py:45:20: E201 whitespace after '(' cowrie/commands/fs.py:46:20: E201 whitespace after '(' cowrie/commands/fs.py:47:20: E201 whitespace after '(' cowrie/commands/fs.py:48:20: E201 whitespace after '(' 4 E201 whitespace after '(' 1 E231 missing whitespace after ',' 5 * flake8 E2 cowrie/commands/gcc.py flake8 --count --select=E1,E2 --statistics cowrie/commands/gcc.py cowrie/commands/gcc.py:21:13: E221 multiple spaces before operator cowrie/commands/gcc.py:166:24: E226 missing whitespace around arithmetic operator 1 E221 multiple spaces before operator 1 E226 missing whitespace around arithmetic operator 2 * flake8 E2 cowrie/commands/last.py flake8 --count --select=E1,E2 --statistics cowrie/commands/last.py cowrie/commands/last.py:30:48: E231 missing whitespace after ',' cowrie/commands/last.py:36:81: E226 missing whitespace around arithmetic operator cowrie/commands/last.py:36:93: E226 missing whitespace around arithmetic operator cowrie/commands/last.py:36:102: E202 whitespace before ')' cowrie/commands/last.py:36:105: E202 whitespace before ')' 2 E202 whitespace before ')' 2 E226 missing whitespace around arithmetic operator 1 E231 missing whitespace after ',' 5 * flake8 E2 cowrie/commands/busybox.py flake8 --count --select=E1,E2 --statistics cowrie/commands/busybox.py cowrie/commands/busybox.py:6:50: E231 missing whitespace after ',' cowrie/commands/busybox.py:11:13: E225 missing whitespace around operator cowrie/commands/busybox.py:62:31: E226 missing whitespace around arithmetic operator 1 E225 missing whitespace around operator 1 E226 missing whitespace around arithmetic operator 1 E231 missing whitespace after ',' 3 * flake8 E2 cowrie/commands/netstat.py flake8 --count --select=E1,E2 --statistics cowrie/commands/netstat.py cowrie/commands/netstat.py:75:22: E226 missing whitespace around arithmetic operator cowrie/commands/netstat.py:76:22: E226 missing whitespace around arithmetic operator cowrie/commands/netstat.py:97:37: E226 missing whitespace around arithmetic operator cowrie/commands/netstat.py:97:41: E226 missing whitespace around arithmetic operator cowrie/commands/netstat.py:97:52: E226 missing whitespace around arithmetic operator cowrie/commands/netstat.py:97:60: E226 missing whitespace around arithmetic operator cowrie/commands/netstat.py:98:37: E226 missing whitespace around arithmetic operator cowrie/commands/netstat.py:98:41: E226 missing whitespace around arithmetic operator cowrie/commands/netstat.py:98:52: E226 missing whitespace around arithmetic operator cowrie/commands/netstat.py:98:60: E226 missing whitespace around arithmetic operator cowrie/commands/netstat.py:100:25: E226 missing whitespace around arithmetic operator 11 E226 missing whitespace around arithmetic operator 11 * flake8 E2 cowrie/commands/free.py flake8 --count --select=E1,E2 --statistics cowrie/commands/free.py cowrie/commands/free.py:16:11: E225 missing whitespace around operator cowrie/commands/free.py:21:10: E225 missing whitespace around operator cowrie/commands/free.py:26:11: E225 missing whitespace around operator cowrie/commands/free.py:60:15: E225 missing whitespace around operator cowrie/commands/free.py:61:34: E226 missing whitespace around arithmetic operator cowrie/commands/free.py:62:17: E225 missing whitespace around operator cowrie/commands/free.py:63:33: E226 missing whitespace around arithmetic operator cowrie/commands/free.py:64:17: E225 missing whitespace around operator cowrie/commands/free.py:65:34: E226 missing whitespace around arithmetic operator 6 E225 missing whitespace around operator 3 E226 missing whitespace around arithmetic operator 9 * flake8 E2 cowrie/commands/ls.py flake8 --count --select=E1,E2 --statistics cowrie/commands/ls.py cowrie/commands/ls.py:189:25: E226 missing whitespace around arithmetic operator 1 E226 missing whitespace around arithmetic operator 1 * flake8 E2 cowrie/commands/cat.py flake8 --count --select=E1,E2 --statistics cowrie/commands/cat.py cowrie/commands/cat.py:79:28: E226 missing whitespace around arithmetic operator 1 E226 missing whitespace around arithmetic operator 1 * flake8 E2 cowrie/commands/tar.py flake8 --count --select=E1,E2 --statistics cowrie/commands/tar.py cowrie/commands/tar.py:75:34: E226 missing whitespace around arithmetic operator 1 E226 missing whitespace around arithmetic operator 1 * flake8 E2 cowrie/commands/sudo.py flake8 --count --select=E1,E2 --statistics cowrie/commands/sudo.py cowrie/commands/sudo.py:9:50: E231 missing whitespace after ',' cowrie/commands/sudo.py:13:15: E225 missing whitespace around operator cowrie/commands/sudo.py:22:14: E225 missing whitespace around operator cowrie/commands/sudo.py:66:31: E226 missing whitespace around arithmetic operator cowrie/commands/sudo.py:74:31: E226 missing whitespace around arithmetic operator cowrie/commands/sudo.py:95:29: E231 missing whitespace after ',' cowrie/commands/sudo.py:96:26: E222 multiple spaces after operator cowrie/commands/sudo.py:101:45: E231 missing whitespace after ',' cowrie/commands/sudo.py:125:17: E265 block comment should start with '# ' cowrie/commands/sudo.py:128:70: E231 missing whitespace after ',' cowrie/commands/sudo.py:128:79: E231 missing whitespace after ',' cowrie/commands/sudo.py:128:106: E203 whitespace before ',' cowrie/commands/sudo.py:128:107: E231 missing whitespace after ',' 1 E203 whitespace before ',' 1 E222 multiple spaces after operator 2 E225 missing whitespace around operator 2 E226 missing whitespace around arithmetic operator 6 E231 missing whitespace after ',' 1 E265 block comment should start with '# ' 13 * flake8 E2 cowrie/commands/env.py flake8 --count --select=E1,E2 --statistics cowrie/commands/env.py cowrie/commands/env.py:41:39: E231 missing whitespace after ',' 1 E231 missing whitespace after ',' 1 * flake8 E2 cowrie/commands/curl.py flake8 --count --select=E1,E2 --statistics cowrie/commands/curl.py cowrie/commands/curl.py:85:12: E225 missing whitespace around operator cowrie/commands/curl.py:294:14: E261 at least two spaces before inline comment cowrie/commands/curl.py:349:46: E261 at least two spaces before inline comment cowrie/commands/curl.py:351:25: E226 missing whitespace around arithmetic operator cowrie/commands/curl.py:383:30: E261 at least two spaces before inline comment cowrie/commands/curl.py:437:46: E226 missing whitespace around arithmetic operator cowrie/commands/curl.py:437:64: E226 missing whitespace around arithmetic operator cowrie/commands/curl.py:440:55: E226 missing whitespace around arithmetic operator cowrie/commands/curl.py:464:41: E226 missing whitespace around arithmetic operator 1 E225 missing whitespace around operator 5 E226 missing whitespace around arithmetic operator 3 E261 at least two spaces before inline comment 9 * flake8 E2 cowrie/ssh/factory.py flake8 --count --select=E1,E2 --statistics cowrie/ssh/factory.py cowrie/ssh/factory.py:39:15: E261 at least two spaces before inline comment cowrie/ssh/factory.py:45:32: E226 missing whitespace around arithmetic operator 1 E226 missing whitespace around arithmetic operator 1 E261 at least two spaces before inline comment 2 * flake8 E2 cowrie/ssh/session.py flake8 --count --select=E1,E2 --statistics cowrie/ssh/session.py cowrie/ssh/session.py:22:9: E265 block comment should start with '# ' 1 E265 block comment should start with '# ' 1 * flake8 E2 cowrie/ssh/channel.py flake8 --count --select=E1,E2 --statistics cowrie/ssh/channel.py cowrie/ssh/channel.py:81:40: E226 missing whitespace around arithmetic operator cowrie/ssh/channel.py:82:37: E226 missing whitespace around arithmetic operator 2 E226 missing whitespace around arithmetic operator 2 * flake8 E2 cowrie/ssh/userauth.py flake8 --count --select=E1,E2 --statistics cowrie/ssh/userauth.py cowrie/ssh/userauth.py:133:26: E261 at least two spaces before inline comment cowrie/ssh/userauth.py:135:28: E261 at least two spaces before inline comment 2 E261 at least two spaces before inline comment 2 * flake8 E2 cowrie/ssh/transport.py flake8 --count --select=E1,E2 --statistics cowrie/ssh/transport.py cowrie/ssh/transport.py:59:56: E226 missing whitespace around arithmetic operator cowrie/ssh/transport.py:61:33: E226 missing whitespace around arithmetic operator cowrie/ssh/transport.py:61:55: E226 missing whitespace around arithmetic operator cowrie/ssh/transport.py:96:13: E265 block comment should start with '# ' cowrie/ssh/transport.py:107:38: E226 missing whitespace around arithmetic operator 4 E226 missing whitespace around arithmetic operator 1 E265 block comment should start with '# ' 5 * flake8 E2 cowrie/output/mysql.py flake8 --count --select=E1,E2 --statistics cowrie/output/mysql.py cowrie/output/mysql.py:37:72: E225 missing whitespace around operator cowrie/output/mysql.py:74:21: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:74:23: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:75:19: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:75:21: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:76:21: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:76:23: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:77:23: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:77:25: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:78:21: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:78:23: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:79:23: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:79:25: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:80:23: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:80:25: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:128:18: E222 multiple spaces after operator 1 E222 multiple spaces after operator 1 E225 missing whitespace around operator 14 E251 unexpected spaces around keyword / parameter equals 16 * flake8 E2 cowrie/output/hpfeeds3.py flake8 --count --select=E1,E2 --statistics cowrie/output/hpfeeds3.py cowrie/output/hpfeeds3.py:68:26: E231 missing whitespace after ':' cowrie/output/hpfeeds3.py:70:26: E231 missing whitespace after ':' cowrie/output/hpfeeds3.py:76:30: E231 missing whitespace after ':' cowrie/output/hpfeeds3.py:77:27: E231 missing whitespace after ':' cowrie/output/hpfeeds3.py:78:34: E231 missing whitespace after ':' cowrie/output/hpfeeds3.py:79:23: E231 missing whitespace after ':' 6 E231 missing whitespace after ':' 6 * flake8 E2 cowrie/output/textlog.py flake8 --count --select=E1,E2 --statistics cowrie/output/textlog.py cowrie/output/textlog.py:63:53: E226 missing whitespace around arithmetic operator cowrie/output/textlog.py:64:67: E226 missing whitespace around arithmetic operator cowrie/output/textlog.py:66:53: E226 missing whitespace around arithmetic operator cowrie/output/textlog.py:67:51: E226 missing whitespace around arithmetic operator 4 E226 missing whitespace around arithmetic operator 4 * flake8 E2 cowrie/output/sqlite.py flake8 --count --select=E1,E2 --statistics cowrie/output/sqlite.py cowrie/output/sqlite.py:36:25: E251 unexpected spaces around keyword / parameter equals cowrie/output/sqlite.py:36:27: E251 unexpected spaces around keyword / parameter equals cowrie/output/sqlite.py:86:18: E222 multiple spaces after operator 1 E222 multiple spaces after operator 2 E251 unexpected spaces around keyword / parameter equals 3 * flake8 E2 cowrie/output/hpfeeds.py flake8 --count --select=E1,E2 --statistics cowrie/output/hpfeeds.py cowrie/output/hpfeeds.py:33:9: E221 multiple spaces before operator cowrie/output/hpfeeds.py:34:8: E221 multiple spaces before operator cowrie/output/hpfeeds.py:35:8: E221 multiple spaces before operator cowrie/output/hpfeeds.py:36:11: E221 multiple spaces before operator cowrie/output/hpfeeds.py:37:13: E221 multiple spaces before operator cowrie/output/hpfeeds.py:41:16: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:42:15: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:42:19: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:43:15: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:43:19: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:44:18: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:45:20: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:45:24: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:73:17: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:73:25: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:78:32: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:94:36: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:127:48: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:248:37: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:248:48: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:300:26: E231 missing whitespace after ':' cowrie/output/hpfeeds.py:302:26: E231 missing whitespace after ':' cowrie/output/hpfeeds.py:308:30: E231 missing whitespace after ':' cowrie/output/hpfeeds.py:309:27: E231 missing whitespace after ':' cowrie/output/hpfeeds.py:310:34: E231 missing whitespace after ':' cowrie/output/hpfeeds.py:311:23: E231 missing whitespace after ':' 5 E221 multiple spaces before operator 15 E226 missing whitespace around arithmetic operator 6 E231 missing whitespace after ':' 26 * flake8 E2 cowrie/output/influx.py flake8 --count --select=E1,E2 --statistics cowrie/output/influx.py cowrie/output/influx.py:109:47: E231 missing whitespace after ',' 1 E231 missing whitespace after ',' 1 * flake8 E2 cowrie/output/virustotal.py flake8 --count --select=E1,E2 --statistics cowrie/output/virustotal.py cowrie/output/virustotal.py:93:13: E265 block comment should start with '# ' cowrie/output/virustotal.py:94:13: E265 block comment should start with '# ' cowrie/output/virustotal.py:95:13: E265 block comment should start with '# ' cowrie/output/virustotal.py:104:13: E265 block comment should start with '# ' cowrie/output/virustotal.py:105:13: E265 block comment should start with '# ' cowrie/output/virustotal.py:113:26: E226 missing whitespace around arithmetic operator cowrie/output/virustotal.py:126:17: E265 block comment should start with '# ' cowrie/output/virustotal.py:180:17: E265 block comment should start with '# ' cowrie/output/virustotal.py:193:26: E226 missing whitespace around arithmetic operator cowrie/output/virustotal.py:197:41: E226 missing whitespace around arithmetic operator cowrie/output/virustotal.py:261:26: E226 missing whitespace around arithmetic operator cowrie/output/virustotal.py:274:17: E265 block comment should start with '# ' cowrie/output/virustotal.py:329:26: E226 missing whitespace around arithmetic operator cowrie/output/virustotal.py:330:23: E201 whitespace after '{' 1 E201 whitespace after '{' 5 E226 missing whitespace around arithmetic operator 8 E265 block comment should start with '# ' 14 * flake8 E2 cowrie/output/jsonlog.py flake8 --count --select=E1,E2 --statistics cowrie/output/jsonlog.py cowrie/output/jsonlog.py:73:59: E225 missing whitespace around operator 1 E225 missing whitespace around operator 1 * flake8 E2 cowrie/output/dshield.py flake8 --count --select=E1,E2 --statistics cowrie/output/dshield.py cowrie/output/dshield.py:39:24: E261 at least two spaces before inline comment cowrie/output/dshield.py:50:23: E203 whitespace before ':' cowrie/output/dshield.py:51:23: E203 whitespace before ':' cowrie/output/dshield.py:52:27: E203 whitespace before ':' cowrie/output/dshield.py:53:28: E203 whitespace before ':' cowrie/output/dshield.py:54:23: E203 whitespace before ':' cowrie/output/dshield.py:55:27: E203 whitespace before ':' cowrie/output/dshield.py:102:27: E231 missing whitespace after ':' cowrie/output/dshield.py:104:9: E265 block comment should start with '# ' cowrie/output/dshield.py:111:19: E251 unexpected spaces around keyword / parameter equals cowrie/output/dshield.py:112:16: E251 unexpected spaces around keyword / parameter equals cowrie/output/dshield.py:112:18: E251 unexpected spaces around keyword / parameter equals cowrie/output/dshield.py:113:20: E251 unexpected spaces around keyword / parameter equals cowrie/output/dshield.py:113:22: E251 unexpected spaces around keyword / parameter equals cowrie/output/dshield.py:114:20: E251 unexpected spaces around keyword / parameter equals cowrie/output/dshield.py:114:22: E251 unexpected spaces around keyword / parameter equals cowrie/output/dshield.py:115:17: E251 unexpected spaces around keyword / parameter equals cowrie/output/dshield.py:115:19: E251 unexpected spaces around keyword / parameter equals cowrie/output/dshield.py:132:57: E226 missing whitespace around arithmetic operator 6 E203 whitespace before ':' 1 E226 missing whitespace around arithmetic operator 1 E231 missing whitespace after ':' 9 E251 unexpected spaces around keyword / parameter equals 1 E261 at least two spaces before inline comment 1 E265 block comment should start with '# ' 19 * flake8 E2 cowrie/output/elasticsearch.py flake8 --count --select=E1,E2 --statistics cowrie/output/elasticsearch.py cowrie/output/elasticsearch.py:22:21: E225 missing whitespace around operator 1 E225 missing whitespace around operator 1flake8 E2 cowrie/output/elasticsearch.py flake8 --count --select=E1,E2 --statistics cowrie/output/elasticsearch.py cowrie/output/elasticsearch.py:22:21: E225 missing whitespace around operator 1 E225 missing whitespace around operator 1flake8 E2 cowrie/output/elasticsearch.py flake8 --count --select=E1,E2 --statistics cowrie/output/elasticsearch.py cowrie/output/elasticsearch.py:22:21: E225 missing whitespace around operator 1 E225 missing whitespace around operator 1flake8 E2 cowrie/output/elasticsearch.py flake8 --count --select=E1,E2 --statistics cowrie/output/elasticsearch.py cowrie/output/elasticsearch.py:22:21: E225 missing whitespace around operator 1 E225 missing whitespace around operator 1flake8 E2 cowrie/output/elasticsearch.py flake8 --count --select=E1,E2 --statistics cowrie/output/elasticsearch.py cowrie/output/elasticsearch.py:22:21: E225 missing whitespace around operator 1 E225 missing whitespace around operator 1flake8 E2 cowrie/output/elasticsearch.py flake8 --count --select=E1,E2 --statistics cowrie/output/elasticsearch.py cowrie/output/elasticsearch.py:22:21: E225 missing whitespace around operator 1 E225 missing whitespace around operator 1flake8 E2 cowrie/output/elasticsearch.py flake8 --count --select=E1,E2 --statistics cowrie/output/elasticsearch.py cowrie/output/elasticsearch.py:22:21: E225 missing whitespace around operator 1 E225 missing whitespace around operator 1flake8 E2 cowrie/output/elasticsearch.py flake8 --count --select=E1,E2 --statistics cowrie/output/elasticsearch.py cowrie/output/elasticsearch.py:22:21: E225 missing whitespace around operator 1 E225 missing whitespace around operator 1 * flake8 E2 cowrie/output/xmpp.py flake8 --count --select=E1,E2 --statistics cowrie/output/xmpp.py cowrie/output/xmpp.py:19:20: E221 multiple spaces before operator cowrie/output/xmpp.py:24:18: E221 multiple spaces before operator cowrie/output/xmpp.py:25:18: E221 multiple spaces before operator cowrie/output/xmpp.py:71:15: E221 multiple spaces before operator cowrie/output/xmpp.py:72:13: E221 multiple spaces before operator cowrie/output/xmpp.py:72:21: E222 multiple spaces after operator cowrie/output/xmpp.py:73:17: E221 multiple spaces before operator cowrie/output/xmpp.py:74:12: E221 multiple spaces before operator cowrie/output/xmpp.py:79:44: E231 missing whitespace after ',' cowrie/output/xmpp.py:79:53: E231 missing whitespace after ',' cowrie/output/xmpp.py:79:58: E231 missing whitespace after ',' cowrie/output/xmpp.py:79:65: E231 missing whitespace after ',' cowrie/output/xmpp.py:86:46: E261 at least two spaces before inline comment cowrie/output/xmpp.py:102:38: E231 missing whitespace after ',' 7 E221 multiple spaces before operator 1 E222 multiple spaces after operator 5 E231 missing whitespace after ',' 1 E261 at least two spaces before inline comment 14 * flake8 E2 cowrie/shell/honeypot.py flake8 --count --select=E1,E2 --statistics cowrie/shell/honeypot.py cowrie/shell/honeypot.py:210:9: E265 block comment should start with '# ' cowrie/shell/honeypot.py:347:32: E226 missing whitespace around arithmetic operator cowrie/shell/honeypot.py:365:43: E226 missing whitespace around arithmetic operator cowrie/shell/honeypot.py:366:29: E222 multiple spaces after operator cowrie/shell/honeypot.py:397:33: E226 missing whitespace around arithmetic operator cowrie/shell/honeypot.py:398:30: E226 missing whitespace around arithmetic operator cowrie/shell/honeypot.py:402:9: E265 block comment should start with '# ' cowrie/shell/honeypot.py:403:9: E265 block comment should start with '# ' cowrie/shell/honeypot.py:408:45: E226 missing whitespace around arithmetic operator cowrie/shell/honeypot.py:408:49: E226 missing whitespace around arithmetic operator cowrie/shell/honeypot.py:408:72: E226 missing whitespace around arithmetic operator cowrie/shell/honeypot.py:408:76: E226 missing whitespace around arithmetic operator cowrie/shell/honeypot.py:414:35: E203 whitespace before ',' cowrie/shell/honeypot.py:440:19: E222 multiple spaces after operator 1 E203 whitespace before ',' 2 E222 multiple spaces after operator 8 E226 missing whitespace around arithmetic operator 3 E265 block comment should start with '# ' 14 * flake8 E2 cowrie/shell/fs.py flake8 --count --select=E1,E2 --statistics cowrie/shell/fs.py cowrie/shell/fs.py:229:63: E225 missing whitespace around operator cowrie/shell/fs.py:377:13: E265 block comment should start with '# ' cowrie/shell/fs.py:416:13: E265 block comment should start with '# ' cowrie/shell/fs.py:457:36: E225 missing whitespace around operator cowrie/shell/fs.py:558:23: E231 missing whitespace after ':' cowrie/shell/fs.py:559:22: E231 missing whitespace after ':' cowrie/shell/fs.py:560:22: E231 missing whitespace after ':' cowrie/shell/fs.py:561:23: E231 missing whitespace after ':' cowrie/shell/fs.py:562:23: E231 missing whitespace after ':' cowrie/shell/fs.py:563:24: E231 missing whitespace after ':' 2 E225 missing whitespace around operator 6 E231 missing whitespace after ':' 2 E265 block comment should start with '# ' 10 * flake8 E2 cowrie/shell/shlex.py flake8 --count --select=E1,E2 --statistics cowrie/shell/shlex.py cowrie/shell/shlex.py:70:13: E265 block comment should start with '# ' cowrie/shell/shlex.py:321:1: E265 block comment should start with '# ' 2 E265 block comment should start with '# ' 2 * flake8 E2 cowrie/shell/filetransfer.py flake8 --count --select=E1,E2 --statistics cowrie/shell/filetransfer.py cowrie/shell/filetransfer.py:83:43: E226 missing whitespace around arithmetic operator cowrie/shell/filetransfer.py:116:33: E226 missing whitespace around arithmetic operator cowrie/shell/filetransfer.py:309:9: E265 block comment should start with '# ' 2 E226 missing whitespace around arithmetic operator 1 E265 block comment should start with '# ' 3 * flake8 E2 cowrie/shell/session.py flake8 --count --select=E1,E2 --statistics cowrie/shell/session.py cowrie/shell/session.py:47:20: E225 missing whitespace around operator cowrie/shell/session.py:48:33: E225 missing whitespace around operator cowrie/shell/session.py:50:33: E225 missing whitespace around operator 3 E225 missing whitespace around operator 3 * flake8 E2 cowrie/shell/customparser.py flake8 --count --select=E1,E2 --statistics cowrie/shell/customparser.py cowrie/shell/customparser.py:56:27: E231 missing whitespace after ',' 1 E231 missing whitespace after ',' 1 * flake8 E2 cowrie/test/test_base_commands.py flake8 --count --select=E1,E2 --statistics cowrie/test/test_base_commands.py cowrie/test/test_base_commands.py:24:58: E211 whitespace before '(' cowrie/test/test_base_commands.py:33:41: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:38:41: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:43:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:47:49: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:52:49: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:57:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:74:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:83:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:87:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:94:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:114:49: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:123:49: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:134:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:139:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:144:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:149:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:154:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:159:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:164:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:169:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:174:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:179:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:184:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:189:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:193:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:198:42: E231 missing whitespace after ',' 1 E211 whitespace before '(' 26 E231 missing whitespace after ',' 27 * flake8 E2 cowrie/test/fake_transport.py flake8 --count --select=E1,E2 --statistics cowrie/test/fake_transport.py cowrie/test/fake_transport.py:8:42: E231 missing whitespace after ',' 1 E231 missing whitespace after ',' 1 * flake8 E2 cowrie/proxy/endpoints.py flake8 --count --select=E1,E2 --statistics cowrie/proxy/endpoints.py cowrie/proxy/endpoints.py:214:29: E226 missing whitespace around arithmetic operator cowrie/proxy/endpoints.py:233:42: E226 missing whitespace around arithmetic operator cowrie/proxy/endpoints.py:323:22: E231 missing whitespace after ',' cowrie/proxy/endpoints.py:323:25: E231 missing whitespace after ',' cowrie/proxy/endpoints.py:323:27: E231 missing whitespace after ',' cowrie/proxy/endpoints.py:323:30: E261 at least two spaces before inline comment cowrie/proxy/endpoints.py:346:55: E226 missing whitespace around arithmetic operator cowrie/proxy/endpoints.py:380:48: E226 missing whitespace around arithmetic operator cowrie/proxy/endpoints.py:824:24: E222 multiple spaces after operator cowrie/proxy/endpoints.py:992:24: E222 multiple spaces after operator 2 E222 multiple spaces after operator 4 E226 missing whitespace around arithmetic operator 3 E231 missing whitespace after ',' 1 E261 at least two spaces before inline comment 10 * flake8 E2 cowrie/proxy/avatar.py flake8 --count --select=E1,E2 --statistics cowrie/proxy/avatar.py cowrie/proxy/avatar.py:14:1: E265 block comment should start with '# ' cowrie/proxy/avatar.py:38:9: E265 block comment should start with '# ' cowrie/proxy/avatar.py:41:9: E265 block comment should start with '# ' cowrie/proxy/avatar.py:59:1: E265 block comment should start with '# ' 4 E265 block comment should start with '# ' 4 * Add TODO for checking SFTP support I removed code which was never used in this version of cowrie. But for me it looks like there is no SFTP support anymore? Look the previous commit message for more details. * flake8 E2 cowrie/proxy/session.py flake8 --count --select=E1,E2 --statistics cowrie/proxy/session.py cowrie/proxy/session.py:15:1: E265 block comment should start with '# ' cowrie/proxy/session.py:60:21: E261 at least two spaces before inline comment cowrie/proxy/session.py:61:18: E261 at least two spaces before inline comment cowrie/proxy/session.py:62:14: E261 at least two spaces before inline comment cowrie/proxy/session.py:71:13: E265 block comment should start with '# ' cowrie/proxy/session.py:83:30: E226 missing whitespace around arithmetic operator cowrie/proxy/session.py:83:42: E226 missing whitespace around arithmetic operator cowrie/proxy/session.py:83:59: E226 missing whitespace around arithmetic operator cowrie/proxy/session.py:91:37: E226 missing whitespace around arithmetic operator cowrie/proxy/session.py:146:9: E265 block comment should start with '# ' cowrie/proxy/session.py:168:32: E226 missing whitespace around arithmetic operator cowrie/proxy/session.py:169:26: E226 missing whitespace around arithmetic operator cowrie/proxy/session.py:170:26: E226 missing whitespace around arithmetic operator cowrie/proxy/session.py:171:26: E226 missing whitespace around arithmetic operator cowrie/proxy/session.py:185:28: E226 missing whitespace around arithmetic operator cowrie/proxy/session.py:189:23: E226 missing whitespace around arithmetic operator cowrie/proxy/session.py:250:9: E265 block comment should start with '# ' cowrie/proxy/session.py:322:13: E265 block comment should start with '# ' 10 E226 missing whitespace around arithmetic operator 3 E261 at least two spaces before inline comment 5 E265 block comment should start with '# ' 18 * flake8 E2 cowire/core/dblog.py flake8 --count --select=E1,E2 --statistics cowrie/core/dblog.py cowrie/core/dblog.py:27:9: E265 block comment should start with '# ' 1 E265 block comment should start with '# ' 1 * flake8 E2 cowrie/core/output.py flake8 --count --select=E1,E2 --statistics cowrie/core/output.py cowrie/core/output.py:172:9: E265 block comment should start with '# ' cowrie/core/output.py:174:13: E265 block comment should start with '# ' cowrie/core/output.py:175:13: E265 block comment should start with '# ' cowrie/core/output.py:176:13: E265 block comment should start with '# ' cowrie/core/output.py:177:13: E265 block comment should start with '# ' cowrie/core/output.py:188:32: E226 missing whitespace around arithmetic operator cowrie/core/output.py:192:36: E226 missing whitespace around arithmetic operator 2 E226 missing whitespace around arithmetic operator 5 E265 block comment should start with '# ' 7 * flake8 E2 cowrie/core/realm.py flake8 --count --select=E1,E2 --statistics cowrie/core/realm.py cowrie/core/realm.py:72:9: E265 block comment should start with '# ' 1 E265 block comment should start with '# ' 1 * flake8 E2 cowrie/core/utils.py flake8 --count --select=E1,E2 --statistics cowrie/core/utils.py cowrie/core/utils.py:35:55: E226 missing whitespace around arithmetic operator cowrie/core/utils.py:38:56: E226 missing whitespace around arithmetic operator cowrie/core/utils.py:57:22: E226 missing whitespace around arithmetic operator cowrie/core/utils.py:58:45: E226 missing whitespace around arithmetic operator cowrie/core/utils.py:59:35: E226 missing whitespace around arithmetic operator 5 E226 missing whitespace around arithmetic operator 5 * Enable flake8 E1 and E2 checks in travis Prevent bad code style of fixed flake8 errors again in the code. * Fixing missspelled variable
2018-07-05 18:46:00 +00:00
setup(
name="Cowrie",
description="Cowrie SSH/Telnet Honeypot.",
long_description="Cowrie SSH/Telnet Honeypot.",
author="Michel Oosterhof",
author_email="michel@oosterhof.net",
Fixing flake8 E2 (#796) * flake8 E2 cowrie/insults/insults.py flake8 --count --select=E1,E2 --statistics cowrie/insults/insults.py cowrie/insults/insults.py:51:28: E261 at least two spaces before inline comment cowrie/insults/insults.py:53:28: E261 at least two spaces before inline comment cowrie/insults/insults.py:86:14: E261 at least two spaces before inline comment cowrie/insults/insults.py:86:15: E262 inline comment should start with '# ' cowrie/insults/insults.py:115:13: E265 block comment should start with '# ' cowrie/insults/insults.py:181:47: E226 missing whitespace around arithmetic operator cowrie/insults/insults.py:215:41: E226 missing whitespace around arithmetic operator 2 E226 missing whitespace around arithmetic operator 3 E261 at least two spaces before inline comment 1 E262 inline comment should start with '# ' 1 E265 block comment should start with '# ' 7 * flake8 E2 cowrie/telnet/session.py flake8 --count --select=E1,E2 --statistics cowrie/telnet/session.py cowrie/telnet/session.py:28:11: E261 at least two spaces before inline comment cowrie/telnet/session.py:116:5: E265 block comment should start with '# ' 1 E261 at least two spaces before inline comment 1 E265 block comment should start with '# ' 2 * flake8 E2 cowrie/telnet/transport.py flake8 --count --select=E1,E2 --statistics cowrie/telnet/transport.py cowrie/telnet/transport.py:36:32: E226 missing whitespace around arithmetic operator cowrie/telnet/transport.py:108:9: E265 block comment should start with '# ' cowrie/telnet/transport.py:144:53: E226 missing whitespace around arithmetic operator cowrie/telnet/transport.py:197:13: E265 block comment should start with '# ' cowrie/telnet/transport.py:207:13: E265 block comment should start with '# ' cowrie/telnet/transport.py:208:13: E265 block comment should start with '# ' cowrie/telnet/transport.py:237:30: E226 missing whitespace around arithmetic operator 3 E226 missing whitespace around arithmetic operator 4 E265 block comment should start with '# ' 7 * flake8 E2 cowrie/dblog/xmpp.py lake8 --count --select=E1,E2 --statistics cowrie/dblog/xmpp.py cowrie/dblog/xmpp.py:20:20: E221 multiple spaces before operator cowrie/dblog/xmpp.py:25:18: E221 multiple spaces before operator cowrie/dblog/xmpp.py:26:18: E221 multiple spaces before operator cowrie/dblog/xmpp.py:38:29: E202 whitespace before ')' cowrie/dblog/xmpp.py:44:32: E202 whitespace before ')' cowrie/dblog/xmpp.py:66:15: E221 multiple spaces before operator cowrie/dblog/xmpp.py:67:13: E221 multiple spaces before operator cowrie/dblog/xmpp.py:68:17: E221 multiple spaces before operator cowrie/dblog/xmpp.py:69:12: E221 multiple spaces before operator cowrie/dblog/xmpp.py:81:54: E231 missing whitespace after ',' cowrie/dblog/xmpp.py:81:59: E231 missing whitespace after ',' cowrie/dblog/xmpp.py:81:66: E231 missing whitespace after ',' cowrie/dblog/xmpp.py:88:46: E261 at least two spaces before inline comment cowrie/dblog/xmpp.py:103:84: E203 whitespace before ',' cowrie/dblog/xmpp.py:109:33: E231 missing whitespace after ',' cowrie/dblog/xmpp.py:161:21: E221 multiple spaces before operator 2 E202 whitespace before ')' 1 E203 whitespace before ',' 8 E221 multiple spaces before operator 4 E231 missing whitespace after ',' 1 E261 at least two spaces before inline comment 16 * flake8 E2 cowrie/commands/ping.py flake8 --count --select=E1,E2 --statistics cowrie/commands/ping.py cowrie/commands/ping.py:57:21: E225 missing whitespace around operator cowrie/commands/ping.py:64:29: E226 missing whitespace around arithmetic operator 1 E225 missing whitespace around operator 1 E226 missing whitespace around arithmetic operator 2 * flake8 E2 cowrie/commands/base.py flake8 --count --select=E1,E2 --statistics cowrie/commands/base.py ./cowrie/commands/base.py:29:47: E226 missing whitespace around arithmetic operator ./cowrie/commands/base.py:115:45: E231 missing whitespace after ',' ./cowrie/commands/base.py:246:46: E226 missing whitespace around arithmetic operator ./cowrie/commands/base.py:313:25: E226 missing whitespace around arithmetic operator ./cowrie/commands/base.py:402:29: E226 missing whitespace around arithmetic operator ./cowrie/commands/base.py:495:61: E226 missing whitespace around arithmetic operator ./cowrie/commands/base.py:511:43: E226 missing whitespace around arithmetic operator ./cowrie/commands/base.py:596:29: E226 missing whitespace around arithmetic operator ./cowrie/commands/base.py:640:29: E226 missing whitespace around arithmetic operator 8 E226 missing whitespace around arithmetic operator 1 E231 missing whitespace after ',' 9 * flake8 E2 setup.py flake8 --count --select=E1,E2 --statistics setup.py ./setup.py:5:6: E211 whitespace before '(' ./setup.py:6:9: E251 unexpected spaces around keyword / parameter equals ./setup.py:6:9: E221 multiple spaces before operator ./setup.py:6:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:7:12: E251 unexpected spaces around keyword / parameter equals ./setup.py:7:12: E221 multiple spaces before operator ./setup.py:7:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:8:16: E251 unexpected spaces around keyword / parameter equals ./setup.py:8:16: E221 multiple spaces before operator ./setup.py:8:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:9:15: E251 unexpected spaces around keyword / parameter equals ./setup.py:9:15: E221 multiple spaces before operator ./setup.py:9:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:10:21: E251 unexpected spaces around keyword / parameter equals ./setup.py:10:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:11:13: E251 unexpected spaces around keyword / parameter equals ./setup.py:11:13: E221 multiple spaces before operator ./setup.py:11:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:12:8: E251 unexpected spaces around keyword / parameter equals ./setup.py:12:8: E221 multiple spaces before operator ./setup.py:12:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:13:13: E251 unexpected spaces around keyword / parameter equals ./setup.py:13:13: E221 multiple spaces before operator ./setup.py:13:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:15:17: E251 unexpected spaces around keyword / parameter equals ./setup.py:15:17: E221 multiple spaces before operator ./setup.py:15:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:15:25: E201 whitespace after '{' ./setup.py:15:38: E202 whitespace before '}' ./setup.py:16:12: E251 unexpected spaces around keyword / parameter equals ./setup.py:16:12: E221 multiple spaces before operator ./setup.py:16:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:21:21: E251 unexpected spaces around keyword / parameter equals ./setup.py:21:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:35:17: E251 unexpected spaces around keyword / parameter equals ./setup.py:35:17: E221 multiple spaces before operator ./setup.py:35:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:38:19: E251 unexpected spaces around keyword / parameter equals ./setup.py:38:19: E221 multiple spaces before operator ./setup.py:38:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:38:25: E201 whitespace after '{' 1 E127 continuation line over-indented for visual indent 1 E201 whitespace after '{' 1 E202 whitespace before '}' 1 E211 whitespace before '(' 26 E251 unexpected spaces around keyword / parameter equals 30 * flake8 E2 cowrie/shell/protocol.py flake8 --count --select=E1,E2 --statistics cowrie/shell/protocol.py cowrie/shell/protocol.py:63:119: E231 missing whitespace after ',' cowrie/shell/protocol.py:63:129: E231 missing whitespace after ',' cowrie/shell/protocol.py:139:29: E261 at least two spaces before inline comment cowrie/shell/protocol.py:146:9: E265 block comment should start with '# ' cowrie/shell/protocol.py:231:9: E265 block comment should start with '# ' cowrie/shell/protocol.py:309:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:309:43: E261 at least two spaces before inline comment cowrie/shell/protocol.py:310:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:310:43: E261 at least two spaces before inline comment cowrie/shell/protocol.py:311:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:311:45: E261 at least two spaces before inline comment cowrie/shell/protocol.py:312:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:312:45: E261 at least two spaces before inline comment cowrie/shell/protocol.py:313:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:313:42: E261 at least two spaces before inline comment cowrie/shell/protocol.py:314:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:314:44: E261 at least two spaces before inline comment cowrie/shell/protocol.py:315:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:315:48: E261 at least two spaces before inline comment cowrie/shell/protocol.py:316:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:317:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:317:45: E261 at least two spaces before inline comment cowrie/shell/protocol.py:318:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:318:45: E261 at least two spaces before inline comment cowrie/shell/protocol.py:319:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:319:43: E261 at least two spaces before inline comment cowrie/shell/protocol.py:320:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:320:41: E261 at least two spaces before inline comment cowrie/shell/protocol.py:321:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:321:45: E261 at least two spaces before inline comment cowrie/shell/protocol.py:322:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:322:45: E261 at least two spaces before inline comment cowrie/shell/protocol.py:323:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:323:42: E261 at least two spaces before inline comment cowrie/shell/protocol.py:331:67: E226 missing whitespace around arithmetic operator cowrie/shell/protocol.py:375:70: E226 missing whitespace around arithmetic operator 2 E226 missing whitespace around arithmetic operator 2 E231 missing whitespace after ',' 15 E241 multiple spaces after ':' 15 E261 at least two spaces before inline comment 2 E265 block comment should start with '# ' 36 * flake8 E2 cowrie/commands/scp.py flake8 --count --select=E1,E2 --statistics cowrie/commands/scp.py cowrie/commands/scp.py:235:48: E226 missing whitespace around arithmetic operator 1 E226 missing whitespace around arithmetic operator 1 * flake8 E2 cowrie/commands/ifconfig.py flake8 --count --select=E1,E2 --statistics cowrie/commands/ifconfig.py cowrie/commands/ifconfig.py:34:21: E226 missing whitespace around arithmetic operator 1 E226 missing whitespace around arithmetic operator 1 * flake8 E2 cowrie/commands/ssh.py flake8 --count --select=E1,E2 --statistics cowrie/commands/ssh.py cowrie/commands/ssh.py:58:29: E226 missing whitespace around arithmetic operator 1 E226 missing whitespace around arithmetic operator 1 * flake8 E2 cowrie/commands/iptables.py flake8 --count --select=E1,E2 --statistics cowrie/commands/iptables.py cowrie/commands/iptables.py:69:28: E231 missing whitespace after ',' cowrie/commands/iptables.py:69:36: E231 missing whitespace after ',' cowrie/commands/iptables.py:69:42: E231 missing whitespace after ',' cowrie/commands/iptables.py:71:24: E225 missing whitespace around operator cowrie/commands/iptables.py:74:24: E225 missing whitespace around operator cowrie/commands/iptables.py:75:38: E231 missing whitespace after ',' cowrie/commands/iptables.py:75:50: E231 missing whitespace after ',' cowrie/commands/iptables.py:320:41: E226 missing whitespace around arithmetic operator cowrie/commands/iptables.py:359:43: E226 missing whitespace around arithmetic operator 2 E225 missing whitespace around operator 2 E226 missing whitespace around arithmetic operator 5 E231 missing whitespace after ',' 9 * flake8 E2 cowrie/commands/python.py flake8 --count --select=E1,E2 --statistics cowrie/commands/python.py cowrie/commands/python.py:83:45: E222 multiple spaces after operator 1 E222 multiple spaces after operator 1 * flake8 E2 cowrie/commands/apt.py flake8 --count --select=E1,E2 --statistics cowrie/commands/apt.py cowrie/commands/apt.py:42:32: E251 unexpected spaces around keyword / parameter equals cowrie/commands/apt.py:42:34: E251 unexpected spaces around keyword / parameter equals cowrie/commands/apt.py:113:24: E231 missing whitespace after ',' cowrie/commands/apt.py:115:112: E231 missing whitespace after ',' cowrie/commands/apt.py:122:27: E241 multiple spaces after ':' cowrie/commands/apt.py:126:24: E241 multiple spaces after ':' 2 E231 missing whitespace after ',' 2 E241 multiple spaces after ':' 2 E251 unexpected spaces around keyword / parameter equals 6 * flake8 E2 cowrie/commands/fs.py flake8 --count --select=E1,E2 --statistics cowrie/commands/fs.py cowrie/commands/fs.py:36:35: E231 missing whitespace after ',' cowrie/commands/fs.py:45:20: E201 whitespace after '(' cowrie/commands/fs.py:46:20: E201 whitespace after '(' cowrie/commands/fs.py:47:20: E201 whitespace after '(' cowrie/commands/fs.py:48:20: E201 whitespace after '(' 4 E201 whitespace after '(' 1 E231 missing whitespace after ',' 5 * flake8 E2 cowrie/commands/gcc.py flake8 --count --select=E1,E2 --statistics cowrie/commands/gcc.py cowrie/commands/gcc.py:21:13: E221 multiple spaces before operator cowrie/commands/gcc.py:166:24: E226 missing whitespace around arithmetic operator 1 E221 multiple spaces before operator 1 E226 missing whitespace around arithmetic operator 2 * flake8 E2 cowrie/commands/last.py flake8 --count --select=E1,E2 --statistics cowrie/commands/last.py cowrie/commands/last.py:30:48: E231 missing whitespace after ',' cowrie/commands/last.py:36:81: E226 missing whitespace around arithmetic operator cowrie/commands/last.py:36:93: E226 missing whitespace around arithmetic operator cowrie/commands/last.py:36:102: E202 whitespace before ')' cowrie/commands/last.py:36:105: E202 whitespace before ')' 2 E202 whitespace before ')' 2 E226 missing whitespace around arithmetic operator 1 E231 missing whitespace after ',' 5 * flake8 E2 cowrie/commands/busybox.py flake8 --count --select=E1,E2 --statistics cowrie/commands/busybox.py cowrie/commands/busybox.py:6:50: E231 missing whitespace after ',' cowrie/commands/busybox.py:11:13: E225 missing whitespace around operator cowrie/commands/busybox.py:62:31: E226 missing whitespace around arithmetic operator 1 E225 missing whitespace around operator 1 E226 missing whitespace around arithmetic operator 1 E231 missing whitespace after ',' 3 * flake8 E2 cowrie/commands/netstat.py flake8 --count --select=E1,E2 --statistics cowrie/commands/netstat.py cowrie/commands/netstat.py:75:22: E226 missing whitespace around arithmetic operator cowrie/commands/netstat.py:76:22: E226 missing whitespace around arithmetic operator cowrie/commands/netstat.py:97:37: E226 missing whitespace around arithmetic operator cowrie/commands/netstat.py:97:41: E226 missing whitespace around arithmetic operator cowrie/commands/netstat.py:97:52: E226 missing whitespace around arithmetic operator cowrie/commands/netstat.py:97:60: E226 missing whitespace around arithmetic operator cowrie/commands/netstat.py:98:37: E226 missing whitespace around arithmetic operator cowrie/commands/netstat.py:98:41: E226 missing whitespace around arithmetic operator cowrie/commands/netstat.py:98:52: E226 missing whitespace around arithmetic operator cowrie/commands/netstat.py:98:60: E226 missing whitespace around arithmetic operator cowrie/commands/netstat.py:100:25: E226 missing whitespace around arithmetic operator 11 E226 missing whitespace around arithmetic operator 11 * flake8 E2 cowrie/commands/free.py flake8 --count --select=E1,E2 --statistics cowrie/commands/free.py cowrie/commands/free.py:16:11: E225 missing whitespace around operator cowrie/commands/free.py:21:10: E225 missing whitespace around operator cowrie/commands/free.py:26:11: E225 missing whitespace around operator cowrie/commands/free.py:60:15: E225 missing whitespace around operator cowrie/commands/free.py:61:34: E226 missing whitespace around arithmetic operator cowrie/commands/free.py:62:17: E225 missing whitespace around operator cowrie/commands/free.py:63:33: E226 missing whitespace around arithmetic operator cowrie/commands/free.py:64:17: E225 missing whitespace around operator cowrie/commands/free.py:65:34: E226 missing whitespace around arithmetic operator 6 E225 missing whitespace around operator 3 E226 missing whitespace around arithmetic operator 9 * flake8 E2 cowrie/commands/ls.py flake8 --count --select=E1,E2 --statistics cowrie/commands/ls.py cowrie/commands/ls.py:189:25: E226 missing whitespace around arithmetic operator 1 E226 missing whitespace around arithmetic operator 1 * flake8 E2 cowrie/commands/cat.py flake8 --count --select=E1,E2 --statistics cowrie/commands/cat.py cowrie/commands/cat.py:79:28: E226 missing whitespace around arithmetic operator 1 E226 missing whitespace around arithmetic operator 1 * flake8 E2 cowrie/commands/tar.py flake8 --count --select=E1,E2 --statistics cowrie/commands/tar.py cowrie/commands/tar.py:75:34: E226 missing whitespace around arithmetic operator 1 E226 missing whitespace around arithmetic operator 1 * flake8 E2 cowrie/commands/sudo.py flake8 --count --select=E1,E2 --statistics cowrie/commands/sudo.py cowrie/commands/sudo.py:9:50: E231 missing whitespace after ',' cowrie/commands/sudo.py:13:15: E225 missing whitespace around operator cowrie/commands/sudo.py:22:14: E225 missing whitespace around operator cowrie/commands/sudo.py:66:31: E226 missing whitespace around arithmetic operator cowrie/commands/sudo.py:74:31: E226 missing whitespace around arithmetic operator cowrie/commands/sudo.py:95:29: E231 missing whitespace after ',' cowrie/commands/sudo.py:96:26: E222 multiple spaces after operator cowrie/commands/sudo.py:101:45: E231 missing whitespace after ',' cowrie/commands/sudo.py:125:17: E265 block comment should start with '# ' cowrie/commands/sudo.py:128:70: E231 missing whitespace after ',' cowrie/commands/sudo.py:128:79: E231 missing whitespace after ',' cowrie/commands/sudo.py:128:106: E203 whitespace before ',' cowrie/commands/sudo.py:128:107: E231 missing whitespace after ',' 1 E203 whitespace before ',' 1 E222 multiple spaces after operator 2 E225 missing whitespace around operator 2 E226 missing whitespace around arithmetic operator 6 E231 missing whitespace after ',' 1 E265 block comment should start with '# ' 13 * flake8 E2 cowrie/commands/env.py flake8 --count --select=E1,E2 --statistics cowrie/commands/env.py cowrie/commands/env.py:41:39: E231 missing whitespace after ',' 1 E231 missing whitespace after ',' 1 * flake8 E2 cowrie/commands/curl.py flake8 --count --select=E1,E2 --statistics cowrie/commands/curl.py cowrie/commands/curl.py:85:12: E225 missing whitespace around operator cowrie/commands/curl.py:294:14: E261 at least two spaces before inline comment cowrie/commands/curl.py:349:46: E261 at least two spaces before inline comment cowrie/commands/curl.py:351:25: E226 missing whitespace around arithmetic operator cowrie/commands/curl.py:383:30: E261 at least two spaces before inline comment cowrie/commands/curl.py:437:46: E226 missing whitespace around arithmetic operator cowrie/commands/curl.py:437:64: E226 missing whitespace around arithmetic operator cowrie/commands/curl.py:440:55: E226 missing whitespace around arithmetic operator cowrie/commands/curl.py:464:41: E226 missing whitespace around arithmetic operator 1 E225 missing whitespace around operator 5 E226 missing whitespace around arithmetic operator 3 E261 at least two spaces before inline comment 9 * flake8 E2 cowrie/ssh/factory.py flake8 --count --select=E1,E2 --statistics cowrie/ssh/factory.py cowrie/ssh/factory.py:39:15: E261 at least two spaces before inline comment cowrie/ssh/factory.py:45:32: E226 missing whitespace around arithmetic operator 1 E226 missing whitespace around arithmetic operator 1 E261 at least two spaces before inline comment 2 * flake8 E2 cowrie/ssh/session.py flake8 --count --select=E1,E2 --statistics cowrie/ssh/session.py cowrie/ssh/session.py:22:9: E265 block comment should start with '# ' 1 E265 block comment should start with '# ' 1 * flake8 E2 cowrie/ssh/channel.py flake8 --count --select=E1,E2 --statistics cowrie/ssh/channel.py cowrie/ssh/channel.py:81:40: E226 missing whitespace around arithmetic operator cowrie/ssh/channel.py:82:37: E226 missing whitespace around arithmetic operator 2 E226 missing whitespace around arithmetic operator 2 * flake8 E2 cowrie/ssh/userauth.py flake8 --count --select=E1,E2 --statistics cowrie/ssh/userauth.py cowrie/ssh/userauth.py:133:26: E261 at least two spaces before inline comment cowrie/ssh/userauth.py:135:28: E261 at least two spaces before inline comment 2 E261 at least two spaces before inline comment 2 * flake8 E2 cowrie/ssh/transport.py flake8 --count --select=E1,E2 --statistics cowrie/ssh/transport.py cowrie/ssh/transport.py:59:56: E226 missing whitespace around arithmetic operator cowrie/ssh/transport.py:61:33: E226 missing whitespace around arithmetic operator cowrie/ssh/transport.py:61:55: E226 missing whitespace around arithmetic operator cowrie/ssh/transport.py:96:13: E265 block comment should start with '# ' cowrie/ssh/transport.py:107:38: E226 missing whitespace around arithmetic operator 4 E226 missing whitespace around arithmetic operator 1 E265 block comment should start with '# ' 5 * flake8 E2 cowrie/output/mysql.py flake8 --count --select=E1,E2 --statistics cowrie/output/mysql.py cowrie/output/mysql.py:37:72: E225 missing whitespace around operator cowrie/output/mysql.py:74:21: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:74:23: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:75:19: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:75:21: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:76:21: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:76:23: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:77:23: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:77:25: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:78:21: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:78:23: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:79:23: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:79:25: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:80:23: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:80:25: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:128:18: E222 multiple spaces after operator 1 E222 multiple spaces after operator 1 E225 missing whitespace around operator 14 E251 unexpected spaces around keyword / parameter equals 16 * flake8 E2 cowrie/output/hpfeeds3.py flake8 --count --select=E1,E2 --statistics cowrie/output/hpfeeds3.py cowrie/output/hpfeeds3.py:68:26: E231 missing whitespace after ':' cowrie/output/hpfeeds3.py:70:26: E231 missing whitespace after ':' cowrie/output/hpfeeds3.py:76:30: E231 missing whitespace after ':' cowrie/output/hpfeeds3.py:77:27: E231 missing whitespace after ':' cowrie/output/hpfeeds3.py:78:34: E231 missing whitespace after ':' cowrie/output/hpfeeds3.py:79:23: E231 missing whitespace after ':' 6 E231 missing whitespace after ':' 6 * flake8 E2 cowrie/output/textlog.py flake8 --count --select=E1,E2 --statistics cowrie/output/textlog.py cowrie/output/textlog.py:63:53: E226 missing whitespace around arithmetic operator cowrie/output/textlog.py:64:67: E226 missing whitespace around arithmetic operator cowrie/output/textlog.py:66:53: E226 missing whitespace around arithmetic operator cowrie/output/textlog.py:67:51: E226 missing whitespace around arithmetic operator 4 E226 missing whitespace around arithmetic operator 4 * flake8 E2 cowrie/output/sqlite.py flake8 --count --select=E1,E2 --statistics cowrie/output/sqlite.py cowrie/output/sqlite.py:36:25: E251 unexpected spaces around keyword / parameter equals cowrie/output/sqlite.py:36:27: E251 unexpected spaces around keyword / parameter equals cowrie/output/sqlite.py:86:18: E222 multiple spaces after operator 1 E222 multiple spaces after operator 2 E251 unexpected spaces around keyword / parameter equals 3 * flake8 E2 cowrie/output/hpfeeds.py flake8 --count --select=E1,E2 --statistics cowrie/output/hpfeeds.py cowrie/output/hpfeeds.py:33:9: E221 multiple spaces before operator cowrie/output/hpfeeds.py:34:8: E221 multiple spaces before operator cowrie/output/hpfeeds.py:35:8: E221 multiple spaces before operator cowrie/output/hpfeeds.py:36:11: E221 multiple spaces before operator cowrie/output/hpfeeds.py:37:13: E221 multiple spaces before operator cowrie/output/hpfeeds.py:41:16: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:42:15: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:42:19: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:43:15: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:43:19: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:44:18: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:45:20: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:45:24: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:73:17: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:73:25: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:78:32: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:94:36: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:127:48: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:248:37: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:248:48: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:300:26: E231 missing whitespace after ':' cowrie/output/hpfeeds.py:302:26: E231 missing whitespace after ':' cowrie/output/hpfeeds.py:308:30: E231 missing whitespace after ':' cowrie/output/hpfeeds.py:309:27: E231 missing whitespace after ':' cowrie/output/hpfeeds.py:310:34: E231 missing whitespace after ':' cowrie/output/hpfeeds.py:311:23: E231 missing whitespace after ':' 5 E221 multiple spaces before operator 15 E226 missing whitespace around arithmetic operator 6 E231 missing whitespace after ':' 26 * flake8 E2 cowrie/output/influx.py flake8 --count --select=E1,E2 --statistics cowrie/output/influx.py cowrie/output/influx.py:109:47: E231 missing whitespace after ',' 1 E231 missing whitespace after ',' 1 * flake8 E2 cowrie/output/virustotal.py flake8 --count --select=E1,E2 --statistics cowrie/output/virustotal.py cowrie/output/virustotal.py:93:13: E265 block comment should start with '# ' cowrie/output/virustotal.py:94:13: E265 block comment should start with '# ' cowrie/output/virustotal.py:95:13: E265 block comment should start with '# ' cowrie/output/virustotal.py:104:13: E265 block comment should start with '# ' cowrie/output/virustotal.py:105:13: E265 block comment should start with '# ' cowrie/output/virustotal.py:113:26: E226 missing whitespace around arithmetic operator cowrie/output/virustotal.py:126:17: E265 block comment should start with '# ' cowrie/output/virustotal.py:180:17: E265 block comment should start with '# ' cowrie/output/virustotal.py:193:26: E226 missing whitespace around arithmetic operator cowrie/output/virustotal.py:197:41: E226 missing whitespace around arithmetic operator cowrie/output/virustotal.py:261:26: E226 missing whitespace around arithmetic operator cowrie/output/virustotal.py:274:17: E265 block comment should start with '# ' cowrie/output/virustotal.py:329:26: E226 missing whitespace around arithmetic operator cowrie/output/virustotal.py:330:23: E201 whitespace after '{' 1 E201 whitespace after '{' 5 E226 missing whitespace around arithmetic operator 8 E265 block comment should start with '# ' 14 * flake8 E2 cowrie/output/jsonlog.py flake8 --count --select=E1,E2 --statistics cowrie/output/jsonlog.py cowrie/output/jsonlog.py:73:59: E225 missing whitespace around operator 1 E225 missing whitespace around operator 1 * flake8 E2 cowrie/output/dshield.py flake8 --count --select=E1,E2 --statistics cowrie/output/dshield.py cowrie/output/dshield.py:39:24: E261 at least two spaces before inline comment cowrie/output/dshield.py:50:23: E203 whitespace before ':' cowrie/output/dshield.py:51:23: E203 whitespace before ':' cowrie/output/dshield.py:52:27: E203 whitespace before ':' cowrie/output/dshield.py:53:28: E203 whitespace before ':' cowrie/output/dshield.py:54:23: E203 whitespace before ':' cowrie/output/dshield.py:55:27: E203 whitespace before ':' cowrie/output/dshield.py:102:27: E231 missing whitespace after ':' cowrie/output/dshield.py:104:9: E265 block comment should start with '# ' cowrie/output/dshield.py:111:19: E251 unexpected spaces around keyword / parameter equals cowrie/output/dshield.py:112:16: E251 unexpected spaces around keyword / parameter equals cowrie/output/dshield.py:112:18: E251 unexpected spaces around keyword / parameter equals cowrie/output/dshield.py:113:20: E251 unexpected spaces around keyword / parameter equals cowrie/output/dshield.py:113:22: E251 unexpected spaces around keyword / parameter equals cowrie/output/dshield.py:114:20: E251 unexpected spaces around keyword / parameter equals cowrie/output/dshield.py:114:22: E251 unexpected spaces around keyword / parameter equals cowrie/output/dshield.py:115:17: E251 unexpected spaces around keyword / parameter equals cowrie/output/dshield.py:115:19: E251 unexpected spaces around keyword / parameter equals cowrie/output/dshield.py:132:57: E226 missing whitespace around arithmetic operator 6 E203 whitespace before ':' 1 E226 missing whitespace around arithmetic operator 1 E231 missing whitespace after ':' 9 E251 unexpected spaces around keyword / parameter equals 1 E261 at least two spaces before inline comment 1 E265 block comment should start with '# ' 19 * flake8 E2 cowrie/output/elasticsearch.py flake8 --count --select=E1,E2 --statistics cowrie/output/elasticsearch.py cowrie/output/elasticsearch.py:22:21: E225 missing whitespace around operator 1 E225 missing whitespace around operator 1flake8 E2 cowrie/output/elasticsearch.py flake8 --count --select=E1,E2 --statistics cowrie/output/elasticsearch.py cowrie/output/elasticsearch.py:22:21: E225 missing whitespace around operator 1 E225 missing whitespace around operator 1flake8 E2 cowrie/output/elasticsearch.py flake8 --count --select=E1,E2 --statistics cowrie/output/elasticsearch.py cowrie/output/elasticsearch.py:22:21: E225 missing whitespace around operator 1 E225 missing whitespace around operator 1flake8 E2 cowrie/output/elasticsearch.py flake8 --count --select=E1,E2 --statistics cowrie/output/elasticsearch.py cowrie/output/elasticsearch.py:22:21: E225 missing whitespace around operator 1 E225 missing whitespace around operator 1flake8 E2 cowrie/output/elasticsearch.py flake8 --count --select=E1,E2 --statistics cowrie/output/elasticsearch.py cowrie/output/elasticsearch.py:22:21: E225 missing whitespace around operator 1 E225 missing whitespace around operator 1flake8 E2 cowrie/output/elasticsearch.py flake8 --count --select=E1,E2 --statistics cowrie/output/elasticsearch.py cowrie/output/elasticsearch.py:22:21: E225 missing whitespace around operator 1 E225 missing whitespace around operator 1flake8 E2 cowrie/output/elasticsearch.py flake8 --count --select=E1,E2 --statistics cowrie/output/elasticsearch.py cowrie/output/elasticsearch.py:22:21: E225 missing whitespace around operator 1 E225 missing whitespace around operator 1flake8 E2 cowrie/output/elasticsearch.py flake8 --count --select=E1,E2 --statistics cowrie/output/elasticsearch.py cowrie/output/elasticsearch.py:22:21: E225 missing whitespace around operator 1 E225 missing whitespace around operator 1 * flake8 E2 cowrie/output/xmpp.py flake8 --count --select=E1,E2 --statistics cowrie/output/xmpp.py cowrie/output/xmpp.py:19:20: E221 multiple spaces before operator cowrie/output/xmpp.py:24:18: E221 multiple spaces before operator cowrie/output/xmpp.py:25:18: E221 multiple spaces before operator cowrie/output/xmpp.py:71:15: E221 multiple spaces before operator cowrie/output/xmpp.py:72:13: E221 multiple spaces before operator cowrie/output/xmpp.py:72:21: E222 multiple spaces after operator cowrie/output/xmpp.py:73:17: E221 multiple spaces before operator cowrie/output/xmpp.py:74:12: E221 multiple spaces before operator cowrie/output/xmpp.py:79:44: E231 missing whitespace after ',' cowrie/output/xmpp.py:79:53: E231 missing whitespace after ',' cowrie/output/xmpp.py:79:58: E231 missing whitespace after ',' cowrie/output/xmpp.py:79:65: E231 missing whitespace after ',' cowrie/output/xmpp.py:86:46: E261 at least two spaces before inline comment cowrie/output/xmpp.py:102:38: E231 missing whitespace after ',' 7 E221 multiple spaces before operator 1 E222 multiple spaces after operator 5 E231 missing whitespace after ',' 1 E261 at least two spaces before inline comment 14 * flake8 E2 cowrie/shell/honeypot.py flake8 --count --select=E1,E2 --statistics cowrie/shell/honeypot.py cowrie/shell/honeypot.py:210:9: E265 block comment should start with '# ' cowrie/shell/honeypot.py:347:32: E226 missing whitespace around arithmetic operator cowrie/shell/honeypot.py:365:43: E226 missing whitespace around arithmetic operator cowrie/shell/honeypot.py:366:29: E222 multiple spaces after operator cowrie/shell/honeypot.py:397:33: E226 missing whitespace around arithmetic operator cowrie/shell/honeypot.py:398:30: E226 missing whitespace around arithmetic operator cowrie/shell/honeypot.py:402:9: E265 block comment should start with '# ' cowrie/shell/honeypot.py:403:9: E265 block comment should start with '# ' cowrie/shell/honeypot.py:408:45: E226 missing whitespace around arithmetic operator cowrie/shell/honeypot.py:408:49: E226 missing whitespace around arithmetic operator cowrie/shell/honeypot.py:408:72: E226 missing whitespace around arithmetic operator cowrie/shell/honeypot.py:408:76: E226 missing whitespace around arithmetic operator cowrie/shell/honeypot.py:414:35: E203 whitespace before ',' cowrie/shell/honeypot.py:440:19: E222 multiple spaces after operator 1 E203 whitespace before ',' 2 E222 multiple spaces after operator 8 E226 missing whitespace around arithmetic operator 3 E265 block comment should start with '# ' 14 * flake8 E2 cowrie/shell/fs.py flake8 --count --select=E1,E2 --statistics cowrie/shell/fs.py cowrie/shell/fs.py:229:63: E225 missing whitespace around operator cowrie/shell/fs.py:377:13: E265 block comment should start with '# ' cowrie/shell/fs.py:416:13: E265 block comment should start with '# ' cowrie/shell/fs.py:457:36: E225 missing whitespace around operator cowrie/shell/fs.py:558:23: E231 missing whitespace after ':' cowrie/shell/fs.py:559:22: E231 missing whitespace after ':' cowrie/shell/fs.py:560:22: E231 missing whitespace after ':' cowrie/shell/fs.py:561:23: E231 missing whitespace after ':' cowrie/shell/fs.py:562:23: E231 missing whitespace after ':' cowrie/shell/fs.py:563:24: E231 missing whitespace after ':' 2 E225 missing whitespace around operator 6 E231 missing whitespace after ':' 2 E265 block comment should start with '# ' 10 * flake8 E2 cowrie/shell/shlex.py flake8 --count --select=E1,E2 --statistics cowrie/shell/shlex.py cowrie/shell/shlex.py:70:13: E265 block comment should start with '# ' cowrie/shell/shlex.py:321:1: E265 block comment should start with '# ' 2 E265 block comment should start with '# ' 2 * flake8 E2 cowrie/shell/filetransfer.py flake8 --count --select=E1,E2 --statistics cowrie/shell/filetransfer.py cowrie/shell/filetransfer.py:83:43: E226 missing whitespace around arithmetic operator cowrie/shell/filetransfer.py:116:33: E226 missing whitespace around arithmetic operator cowrie/shell/filetransfer.py:309:9: E265 block comment should start with '# ' 2 E226 missing whitespace around arithmetic operator 1 E265 block comment should start with '# ' 3 * flake8 E2 cowrie/shell/session.py flake8 --count --select=E1,E2 --statistics cowrie/shell/session.py cowrie/shell/session.py:47:20: E225 missing whitespace around operator cowrie/shell/session.py:48:33: E225 missing whitespace around operator cowrie/shell/session.py:50:33: E225 missing whitespace around operator 3 E225 missing whitespace around operator 3 * flake8 E2 cowrie/shell/customparser.py flake8 --count --select=E1,E2 --statistics cowrie/shell/customparser.py cowrie/shell/customparser.py:56:27: E231 missing whitespace after ',' 1 E231 missing whitespace after ',' 1 * flake8 E2 cowrie/test/test_base_commands.py flake8 --count --select=E1,E2 --statistics cowrie/test/test_base_commands.py cowrie/test/test_base_commands.py:24:58: E211 whitespace before '(' cowrie/test/test_base_commands.py:33:41: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:38:41: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:43:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:47:49: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:52:49: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:57:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:74:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:83:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:87:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:94:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:114:49: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:123:49: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:134:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:139:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:144:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:149:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:154:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:159:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:164:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:169:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:174:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:179:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:184:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:189:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:193:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:198:42: E231 missing whitespace after ',' 1 E211 whitespace before '(' 26 E231 missing whitespace after ',' 27 * flake8 E2 cowrie/test/fake_transport.py flake8 --count --select=E1,E2 --statistics cowrie/test/fake_transport.py cowrie/test/fake_transport.py:8:42: E231 missing whitespace after ',' 1 E231 missing whitespace after ',' 1 * flake8 E2 cowrie/proxy/endpoints.py flake8 --count --select=E1,E2 --statistics cowrie/proxy/endpoints.py cowrie/proxy/endpoints.py:214:29: E226 missing whitespace around arithmetic operator cowrie/proxy/endpoints.py:233:42: E226 missing whitespace around arithmetic operator cowrie/proxy/endpoints.py:323:22: E231 missing whitespace after ',' cowrie/proxy/endpoints.py:323:25: E231 missing whitespace after ',' cowrie/proxy/endpoints.py:323:27: E231 missing whitespace after ',' cowrie/proxy/endpoints.py:323:30: E261 at least two spaces before inline comment cowrie/proxy/endpoints.py:346:55: E226 missing whitespace around arithmetic operator cowrie/proxy/endpoints.py:380:48: E226 missing whitespace around arithmetic operator cowrie/proxy/endpoints.py:824:24: E222 multiple spaces after operator cowrie/proxy/endpoints.py:992:24: E222 multiple spaces after operator 2 E222 multiple spaces after operator 4 E226 missing whitespace around arithmetic operator 3 E231 missing whitespace after ',' 1 E261 at least two spaces before inline comment 10 * flake8 E2 cowrie/proxy/avatar.py flake8 --count --select=E1,E2 --statistics cowrie/proxy/avatar.py cowrie/proxy/avatar.py:14:1: E265 block comment should start with '# ' cowrie/proxy/avatar.py:38:9: E265 block comment should start with '# ' cowrie/proxy/avatar.py:41:9: E265 block comment should start with '# ' cowrie/proxy/avatar.py:59:1: E265 block comment should start with '# ' 4 E265 block comment should start with '# ' 4 * Add TODO for checking SFTP support I removed code which was never used in this version of cowrie. But for me it looks like there is no SFTP support anymore? Look the previous commit message for more details. * flake8 E2 cowrie/proxy/session.py flake8 --count --select=E1,E2 --statistics cowrie/proxy/session.py cowrie/proxy/session.py:15:1: E265 block comment should start with '# ' cowrie/proxy/session.py:60:21: E261 at least two spaces before inline comment cowrie/proxy/session.py:61:18: E261 at least two spaces before inline comment cowrie/proxy/session.py:62:14: E261 at least two spaces before inline comment cowrie/proxy/session.py:71:13: E265 block comment should start with '# ' cowrie/proxy/session.py:83:30: E226 missing whitespace around arithmetic operator cowrie/proxy/session.py:83:42: E226 missing whitespace around arithmetic operator cowrie/proxy/session.py:83:59: E226 missing whitespace around arithmetic operator cowrie/proxy/session.py:91:37: E226 missing whitespace around arithmetic operator cowrie/proxy/session.py:146:9: E265 block comment should start with '# ' cowrie/proxy/session.py:168:32: E226 missing whitespace around arithmetic operator cowrie/proxy/session.py:169:26: E226 missing whitespace around arithmetic operator cowrie/proxy/session.py:170:26: E226 missing whitespace around arithmetic operator cowrie/proxy/session.py:171:26: E226 missing whitespace around arithmetic operator cowrie/proxy/session.py:185:28: E226 missing whitespace around arithmetic operator cowrie/proxy/session.py:189:23: E226 missing whitespace around arithmetic operator cowrie/proxy/session.py:250:9: E265 block comment should start with '# ' cowrie/proxy/session.py:322:13: E265 block comment should start with '# ' 10 E226 missing whitespace around arithmetic operator 3 E261 at least two spaces before inline comment 5 E265 block comment should start with '# ' 18 * flake8 E2 cowire/core/dblog.py flake8 --count --select=E1,E2 --statistics cowrie/core/dblog.py cowrie/core/dblog.py:27:9: E265 block comment should start with '# ' 1 E265 block comment should start with '# ' 1 * flake8 E2 cowrie/core/output.py flake8 --count --select=E1,E2 --statistics cowrie/core/output.py cowrie/core/output.py:172:9: E265 block comment should start with '# ' cowrie/core/output.py:174:13: E265 block comment should start with '# ' cowrie/core/output.py:175:13: E265 block comment should start with '# ' cowrie/core/output.py:176:13: E265 block comment should start with '# ' cowrie/core/output.py:177:13: E265 block comment should start with '# ' cowrie/core/output.py:188:32: E226 missing whitespace around arithmetic operator cowrie/core/output.py:192:36: E226 missing whitespace around arithmetic operator 2 E226 missing whitespace around arithmetic operator 5 E265 block comment should start with '# ' 7 * flake8 E2 cowrie/core/realm.py flake8 --count --select=E1,E2 --statistics cowrie/core/realm.py cowrie/core/realm.py:72:9: E265 block comment should start with '# ' 1 E265 block comment should start with '# ' 1 * flake8 E2 cowrie/core/utils.py flake8 --count --select=E1,E2 --statistics cowrie/core/utils.py cowrie/core/utils.py:35:55: E226 missing whitespace around arithmetic operator cowrie/core/utils.py:38:56: E226 missing whitespace around arithmetic operator cowrie/core/utils.py:57:22: E226 missing whitespace around arithmetic operator cowrie/core/utils.py:58:45: E226 missing whitespace around arithmetic operator cowrie/core/utils.py:59:35: E226 missing whitespace around arithmetic operator 5 E226 missing whitespace around arithmetic operator 5 * Enable flake8 E1 and E2 checks in travis Prevent bad code style of fixed flake8 errors again in the code. * Fixing missspelled variable
2018-07-05 18:46:00 +00:00
maintainer="Michel Oosterhof",
maintainer_email="michel@oosterhof.net",
keywords="ssh telnet honeypot",
platforms="Unix, Mac OSX",
license="BSD",
url="https://www.cowrie.org/",
packages=['cowrie', 'twisted'],
2018-02-04 18:43:42 +00:00
include_package_data=True,
package_dir={'': 'src'},
Fixing flake8 E2 (#796) * flake8 E2 cowrie/insults/insults.py flake8 --count --select=E1,E2 --statistics cowrie/insults/insults.py cowrie/insults/insults.py:51:28: E261 at least two spaces before inline comment cowrie/insults/insults.py:53:28: E261 at least two spaces before inline comment cowrie/insults/insults.py:86:14: E261 at least two spaces before inline comment cowrie/insults/insults.py:86:15: E262 inline comment should start with '# ' cowrie/insults/insults.py:115:13: E265 block comment should start with '# ' cowrie/insults/insults.py:181:47: E226 missing whitespace around arithmetic operator cowrie/insults/insults.py:215:41: E226 missing whitespace around arithmetic operator 2 E226 missing whitespace around arithmetic operator 3 E261 at least two spaces before inline comment 1 E262 inline comment should start with '# ' 1 E265 block comment should start with '# ' 7 * flake8 E2 cowrie/telnet/session.py flake8 --count --select=E1,E2 --statistics cowrie/telnet/session.py cowrie/telnet/session.py:28:11: E261 at least two spaces before inline comment cowrie/telnet/session.py:116:5: E265 block comment should start with '# ' 1 E261 at least two spaces before inline comment 1 E265 block comment should start with '# ' 2 * flake8 E2 cowrie/telnet/transport.py flake8 --count --select=E1,E2 --statistics cowrie/telnet/transport.py cowrie/telnet/transport.py:36:32: E226 missing whitespace around arithmetic operator cowrie/telnet/transport.py:108:9: E265 block comment should start with '# ' cowrie/telnet/transport.py:144:53: E226 missing whitespace around arithmetic operator cowrie/telnet/transport.py:197:13: E265 block comment should start with '# ' cowrie/telnet/transport.py:207:13: E265 block comment should start with '# ' cowrie/telnet/transport.py:208:13: E265 block comment should start with '# ' cowrie/telnet/transport.py:237:30: E226 missing whitespace around arithmetic operator 3 E226 missing whitespace around arithmetic operator 4 E265 block comment should start with '# ' 7 * flake8 E2 cowrie/dblog/xmpp.py lake8 --count --select=E1,E2 --statistics cowrie/dblog/xmpp.py cowrie/dblog/xmpp.py:20:20: E221 multiple spaces before operator cowrie/dblog/xmpp.py:25:18: E221 multiple spaces before operator cowrie/dblog/xmpp.py:26:18: E221 multiple spaces before operator cowrie/dblog/xmpp.py:38:29: E202 whitespace before ')' cowrie/dblog/xmpp.py:44:32: E202 whitespace before ')' cowrie/dblog/xmpp.py:66:15: E221 multiple spaces before operator cowrie/dblog/xmpp.py:67:13: E221 multiple spaces before operator cowrie/dblog/xmpp.py:68:17: E221 multiple spaces before operator cowrie/dblog/xmpp.py:69:12: E221 multiple spaces before operator cowrie/dblog/xmpp.py:81:54: E231 missing whitespace after ',' cowrie/dblog/xmpp.py:81:59: E231 missing whitespace after ',' cowrie/dblog/xmpp.py:81:66: E231 missing whitespace after ',' cowrie/dblog/xmpp.py:88:46: E261 at least two spaces before inline comment cowrie/dblog/xmpp.py:103:84: E203 whitespace before ',' cowrie/dblog/xmpp.py:109:33: E231 missing whitespace after ',' cowrie/dblog/xmpp.py:161:21: E221 multiple spaces before operator 2 E202 whitespace before ')' 1 E203 whitespace before ',' 8 E221 multiple spaces before operator 4 E231 missing whitespace after ',' 1 E261 at least two spaces before inline comment 16 * flake8 E2 cowrie/commands/ping.py flake8 --count --select=E1,E2 --statistics cowrie/commands/ping.py cowrie/commands/ping.py:57:21: E225 missing whitespace around operator cowrie/commands/ping.py:64:29: E226 missing whitespace around arithmetic operator 1 E225 missing whitespace around operator 1 E226 missing whitespace around arithmetic operator 2 * flake8 E2 cowrie/commands/base.py flake8 --count --select=E1,E2 --statistics cowrie/commands/base.py ./cowrie/commands/base.py:29:47: E226 missing whitespace around arithmetic operator ./cowrie/commands/base.py:115:45: E231 missing whitespace after ',' ./cowrie/commands/base.py:246:46: E226 missing whitespace around arithmetic operator ./cowrie/commands/base.py:313:25: E226 missing whitespace around arithmetic operator ./cowrie/commands/base.py:402:29: E226 missing whitespace around arithmetic operator ./cowrie/commands/base.py:495:61: E226 missing whitespace around arithmetic operator ./cowrie/commands/base.py:511:43: E226 missing whitespace around arithmetic operator ./cowrie/commands/base.py:596:29: E226 missing whitespace around arithmetic operator ./cowrie/commands/base.py:640:29: E226 missing whitespace around arithmetic operator 8 E226 missing whitespace around arithmetic operator 1 E231 missing whitespace after ',' 9 * flake8 E2 setup.py flake8 --count --select=E1,E2 --statistics setup.py ./setup.py:5:6: E211 whitespace before '(' ./setup.py:6:9: E251 unexpected spaces around keyword / parameter equals ./setup.py:6:9: E221 multiple spaces before operator ./setup.py:6:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:7:12: E251 unexpected spaces around keyword / parameter equals ./setup.py:7:12: E221 multiple spaces before operator ./setup.py:7:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:8:16: E251 unexpected spaces around keyword / parameter equals ./setup.py:8:16: E221 multiple spaces before operator ./setup.py:8:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:9:15: E251 unexpected spaces around keyword / parameter equals ./setup.py:9:15: E221 multiple spaces before operator ./setup.py:9:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:10:21: E251 unexpected spaces around keyword / parameter equals ./setup.py:10:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:11:13: E251 unexpected spaces around keyword / parameter equals ./setup.py:11:13: E221 multiple spaces before operator ./setup.py:11:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:12:8: E251 unexpected spaces around keyword / parameter equals ./setup.py:12:8: E221 multiple spaces before operator ./setup.py:12:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:13:13: E251 unexpected spaces around keyword / parameter equals ./setup.py:13:13: E221 multiple spaces before operator ./setup.py:13:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:15:17: E251 unexpected spaces around keyword / parameter equals ./setup.py:15:17: E221 multiple spaces before operator ./setup.py:15:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:15:25: E201 whitespace after '{' ./setup.py:15:38: E202 whitespace before '}' ./setup.py:16:12: E251 unexpected spaces around keyword / parameter equals ./setup.py:16:12: E221 multiple spaces before operator ./setup.py:16:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:21:21: E251 unexpected spaces around keyword / parameter equals ./setup.py:21:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:35:17: E251 unexpected spaces around keyword / parameter equals ./setup.py:35:17: E221 multiple spaces before operator ./setup.py:35:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:38:19: E251 unexpected spaces around keyword / parameter equals ./setup.py:38:19: E221 multiple spaces before operator ./setup.py:38:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:38:25: E201 whitespace after '{' 1 E127 continuation line over-indented for visual indent 1 E201 whitespace after '{' 1 E202 whitespace before '}' 1 E211 whitespace before '(' 26 E251 unexpected spaces around keyword / parameter equals 30 * flake8 E2 cowrie/shell/protocol.py flake8 --count --select=E1,E2 --statistics cowrie/shell/protocol.py cowrie/shell/protocol.py:63:119: E231 missing whitespace after ',' cowrie/shell/protocol.py:63:129: E231 missing whitespace after ',' cowrie/shell/protocol.py:139:29: E261 at least two spaces before inline comment cowrie/shell/protocol.py:146:9: E265 block comment should start with '# ' cowrie/shell/protocol.py:231:9: E265 block comment should start with '# ' cowrie/shell/protocol.py:309:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:309:43: E261 at least two spaces before inline comment cowrie/shell/protocol.py:310:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:310:43: E261 at least two spaces before inline comment cowrie/shell/protocol.py:311:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:311:45: E261 at least two spaces before inline comment cowrie/shell/protocol.py:312:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:312:45: E261 at least two spaces before inline comment cowrie/shell/protocol.py:313:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:313:42: E261 at least two spaces before inline comment cowrie/shell/protocol.py:314:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:314:44: E261 at least two spaces before inline comment cowrie/shell/protocol.py:315:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:315:48: E261 at least two spaces before inline comment cowrie/shell/protocol.py:316:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:317:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:317:45: E261 at least two spaces before inline comment cowrie/shell/protocol.py:318:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:318:45: E261 at least two spaces before inline comment cowrie/shell/protocol.py:319:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:319:43: E261 at least two spaces before inline comment cowrie/shell/protocol.py:320:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:320:41: E261 at least two spaces before inline comment cowrie/shell/protocol.py:321:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:321:45: E261 at least two spaces before inline comment cowrie/shell/protocol.py:322:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:322:45: E261 at least two spaces before inline comment cowrie/shell/protocol.py:323:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:323:42: E261 at least two spaces before inline comment cowrie/shell/protocol.py:331:67: E226 missing whitespace around arithmetic operator cowrie/shell/protocol.py:375:70: E226 missing whitespace around arithmetic operator 2 E226 missing whitespace around arithmetic operator 2 E231 missing whitespace after ',' 15 E241 multiple spaces after ':' 15 E261 at least two spaces before inline comment 2 E265 block comment should start with '# ' 36 * flake8 E2 cowrie/commands/scp.py flake8 --count --select=E1,E2 --statistics cowrie/commands/scp.py cowrie/commands/scp.py:235:48: E226 missing whitespace around arithmetic operator 1 E226 missing whitespace around arithmetic operator 1 * flake8 E2 cowrie/commands/ifconfig.py flake8 --count --select=E1,E2 --statistics cowrie/commands/ifconfig.py cowrie/commands/ifconfig.py:34:21: E226 missing whitespace around arithmetic operator 1 E226 missing whitespace around arithmetic operator 1 * flake8 E2 cowrie/commands/ssh.py flake8 --count --select=E1,E2 --statistics cowrie/commands/ssh.py cowrie/commands/ssh.py:58:29: E226 missing whitespace around arithmetic operator 1 E226 missing whitespace around arithmetic operator 1 * flake8 E2 cowrie/commands/iptables.py flake8 --count --select=E1,E2 --statistics cowrie/commands/iptables.py cowrie/commands/iptables.py:69:28: E231 missing whitespace after ',' cowrie/commands/iptables.py:69:36: E231 missing whitespace after ',' cowrie/commands/iptables.py:69:42: E231 missing whitespace after ',' cowrie/commands/iptables.py:71:24: E225 missing whitespace around operator cowrie/commands/iptables.py:74:24: E225 missing whitespace around operator cowrie/commands/iptables.py:75:38: E231 missing whitespace after ',' cowrie/commands/iptables.py:75:50: E231 missing whitespace after ',' cowrie/commands/iptables.py:320:41: E226 missing whitespace around arithmetic operator cowrie/commands/iptables.py:359:43: E226 missing whitespace around arithmetic operator 2 E225 missing whitespace around operator 2 E226 missing whitespace around arithmetic operator 5 E231 missing whitespace after ',' 9 * flake8 E2 cowrie/commands/python.py flake8 --count --select=E1,E2 --statistics cowrie/commands/python.py cowrie/commands/python.py:83:45: E222 multiple spaces after operator 1 E222 multiple spaces after operator 1 * flake8 E2 cowrie/commands/apt.py flake8 --count --select=E1,E2 --statistics cowrie/commands/apt.py cowrie/commands/apt.py:42:32: E251 unexpected spaces around keyword / parameter equals cowrie/commands/apt.py:42:34: E251 unexpected spaces around keyword / parameter equals cowrie/commands/apt.py:113:24: E231 missing whitespace after ',' cowrie/commands/apt.py:115:112: E231 missing whitespace after ',' cowrie/commands/apt.py:122:27: E241 multiple spaces after ':' cowrie/commands/apt.py:126:24: E241 multiple spaces after ':' 2 E231 missing whitespace after ',' 2 E241 multiple spaces after ':' 2 E251 unexpected spaces around keyword / parameter equals 6 * flake8 E2 cowrie/commands/fs.py flake8 --count --select=E1,E2 --statistics cowrie/commands/fs.py cowrie/commands/fs.py:36:35: E231 missing whitespace after ',' cowrie/commands/fs.py:45:20: E201 whitespace after '(' cowrie/commands/fs.py:46:20: E201 whitespace after '(' cowrie/commands/fs.py:47:20: E201 whitespace after '(' cowrie/commands/fs.py:48:20: E201 whitespace after '(' 4 E201 whitespace after '(' 1 E231 missing whitespace after ',' 5 * flake8 E2 cowrie/commands/gcc.py flake8 --count --select=E1,E2 --statistics cowrie/commands/gcc.py cowrie/commands/gcc.py:21:13: E221 multiple spaces before operator cowrie/commands/gcc.py:166:24: E226 missing whitespace around arithmetic operator 1 E221 multiple spaces before operator 1 E226 missing whitespace around arithmetic operator 2 * flake8 E2 cowrie/commands/last.py flake8 --count --select=E1,E2 --statistics cowrie/commands/last.py cowrie/commands/last.py:30:48: E231 missing whitespace after ',' cowrie/commands/last.py:36:81: E226 missing whitespace around arithmetic operator cowrie/commands/last.py:36:93: E226 missing whitespace around arithmetic operator cowrie/commands/last.py:36:102: E202 whitespace before ')' cowrie/commands/last.py:36:105: E202 whitespace before ')' 2 E202 whitespace before ')' 2 E226 missing whitespace around arithmetic operator 1 E231 missing whitespace after ',' 5 * flake8 E2 cowrie/commands/busybox.py flake8 --count --select=E1,E2 --statistics cowrie/commands/busybox.py cowrie/commands/busybox.py:6:50: E231 missing whitespace after ',' cowrie/commands/busybox.py:11:13: E225 missing whitespace around operator cowrie/commands/busybox.py:62:31: E226 missing whitespace around arithmetic operator 1 E225 missing whitespace around operator 1 E226 missing whitespace around arithmetic operator 1 E231 missing whitespace after ',' 3 * flake8 E2 cowrie/commands/netstat.py flake8 --count --select=E1,E2 --statistics cowrie/commands/netstat.py cowrie/commands/netstat.py:75:22: E226 missing whitespace around arithmetic operator cowrie/commands/netstat.py:76:22: E226 missing whitespace around arithmetic operator cowrie/commands/netstat.py:97:37: E226 missing whitespace around arithmetic operator cowrie/commands/netstat.py:97:41: E226 missing whitespace around arithmetic operator cowrie/commands/netstat.py:97:52: E226 missing whitespace around arithmetic operator cowrie/commands/netstat.py:97:60: E226 missing whitespace around arithmetic operator cowrie/commands/netstat.py:98:37: E226 missing whitespace around arithmetic operator cowrie/commands/netstat.py:98:41: E226 missing whitespace around arithmetic operator cowrie/commands/netstat.py:98:52: E226 missing whitespace around arithmetic operator cowrie/commands/netstat.py:98:60: E226 missing whitespace around arithmetic operator cowrie/commands/netstat.py:100:25: E226 missing whitespace around arithmetic operator 11 E226 missing whitespace around arithmetic operator 11 * flake8 E2 cowrie/commands/free.py flake8 --count --select=E1,E2 --statistics cowrie/commands/free.py cowrie/commands/free.py:16:11: E225 missing whitespace around operator cowrie/commands/free.py:21:10: E225 missing whitespace around operator cowrie/commands/free.py:26:11: E225 missing whitespace around operator cowrie/commands/free.py:60:15: E225 missing whitespace around operator cowrie/commands/free.py:61:34: E226 missing whitespace around arithmetic operator cowrie/commands/free.py:62:17: E225 missing whitespace around operator cowrie/commands/free.py:63:33: E226 missing whitespace around arithmetic operator cowrie/commands/free.py:64:17: E225 missing whitespace around operator cowrie/commands/free.py:65:34: E226 missing whitespace around arithmetic operator 6 E225 missing whitespace around operator 3 E226 missing whitespace around arithmetic operator 9 * flake8 E2 cowrie/commands/ls.py flake8 --count --select=E1,E2 --statistics cowrie/commands/ls.py cowrie/commands/ls.py:189:25: E226 missing whitespace around arithmetic operator 1 E226 missing whitespace around arithmetic operator 1 * flake8 E2 cowrie/commands/cat.py flake8 --count --select=E1,E2 --statistics cowrie/commands/cat.py cowrie/commands/cat.py:79:28: E226 missing whitespace around arithmetic operator 1 E226 missing whitespace around arithmetic operator 1 * flake8 E2 cowrie/commands/tar.py flake8 --count --select=E1,E2 --statistics cowrie/commands/tar.py cowrie/commands/tar.py:75:34: E226 missing whitespace around arithmetic operator 1 E226 missing whitespace around arithmetic operator 1 * flake8 E2 cowrie/commands/sudo.py flake8 --count --select=E1,E2 --statistics cowrie/commands/sudo.py cowrie/commands/sudo.py:9:50: E231 missing whitespace after ',' cowrie/commands/sudo.py:13:15: E225 missing whitespace around operator cowrie/commands/sudo.py:22:14: E225 missing whitespace around operator cowrie/commands/sudo.py:66:31: E226 missing whitespace around arithmetic operator cowrie/commands/sudo.py:74:31: E226 missing whitespace around arithmetic operator cowrie/commands/sudo.py:95:29: E231 missing whitespace after ',' cowrie/commands/sudo.py:96:26: E222 multiple spaces after operator cowrie/commands/sudo.py:101:45: E231 missing whitespace after ',' cowrie/commands/sudo.py:125:17: E265 block comment should start with '# ' cowrie/commands/sudo.py:128:70: E231 missing whitespace after ',' cowrie/commands/sudo.py:128:79: E231 missing whitespace after ',' cowrie/commands/sudo.py:128:106: E203 whitespace before ',' cowrie/commands/sudo.py:128:107: E231 missing whitespace after ',' 1 E203 whitespace before ',' 1 E222 multiple spaces after operator 2 E225 missing whitespace around operator 2 E226 missing whitespace around arithmetic operator 6 E231 missing whitespace after ',' 1 E265 block comment should start with '# ' 13 * flake8 E2 cowrie/commands/env.py flake8 --count --select=E1,E2 --statistics cowrie/commands/env.py cowrie/commands/env.py:41:39: E231 missing whitespace after ',' 1 E231 missing whitespace after ',' 1 * flake8 E2 cowrie/commands/curl.py flake8 --count --select=E1,E2 --statistics cowrie/commands/curl.py cowrie/commands/curl.py:85:12: E225 missing whitespace around operator cowrie/commands/curl.py:294:14: E261 at least two spaces before inline comment cowrie/commands/curl.py:349:46: E261 at least two spaces before inline comment cowrie/commands/curl.py:351:25: E226 missing whitespace around arithmetic operator cowrie/commands/curl.py:383:30: E261 at least two spaces before inline comment cowrie/commands/curl.py:437:46: E226 missing whitespace around arithmetic operator cowrie/commands/curl.py:437:64: E226 missing whitespace around arithmetic operator cowrie/commands/curl.py:440:55: E226 missing whitespace around arithmetic operator cowrie/commands/curl.py:464:41: E226 missing whitespace around arithmetic operator 1 E225 missing whitespace around operator 5 E226 missing whitespace around arithmetic operator 3 E261 at least two spaces before inline comment 9 * flake8 E2 cowrie/ssh/factory.py flake8 --count --select=E1,E2 --statistics cowrie/ssh/factory.py cowrie/ssh/factory.py:39:15: E261 at least two spaces before inline comment cowrie/ssh/factory.py:45:32: E226 missing whitespace around arithmetic operator 1 E226 missing whitespace around arithmetic operator 1 E261 at least two spaces before inline comment 2 * flake8 E2 cowrie/ssh/session.py flake8 --count --select=E1,E2 --statistics cowrie/ssh/session.py cowrie/ssh/session.py:22:9: E265 block comment should start with '# ' 1 E265 block comment should start with '# ' 1 * flake8 E2 cowrie/ssh/channel.py flake8 --count --select=E1,E2 --statistics cowrie/ssh/channel.py cowrie/ssh/channel.py:81:40: E226 missing whitespace around arithmetic operator cowrie/ssh/channel.py:82:37: E226 missing whitespace around arithmetic operator 2 E226 missing whitespace around arithmetic operator 2 * flake8 E2 cowrie/ssh/userauth.py flake8 --count --select=E1,E2 --statistics cowrie/ssh/userauth.py cowrie/ssh/userauth.py:133:26: E261 at least two spaces before inline comment cowrie/ssh/userauth.py:135:28: E261 at least two spaces before inline comment 2 E261 at least two spaces before inline comment 2 * flake8 E2 cowrie/ssh/transport.py flake8 --count --select=E1,E2 --statistics cowrie/ssh/transport.py cowrie/ssh/transport.py:59:56: E226 missing whitespace around arithmetic operator cowrie/ssh/transport.py:61:33: E226 missing whitespace around arithmetic operator cowrie/ssh/transport.py:61:55: E226 missing whitespace around arithmetic operator cowrie/ssh/transport.py:96:13: E265 block comment should start with '# ' cowrie/ssh/transport.py:107:38: E226 missing whitespace around arithmetic operator 4 E226 missing whitespace around arithmetic operator 1 E265 block comment should start with '# ' 5 * flake8 E2 cowrie/output/mysql.py flake8 --count --select=E1,E2 --statistics cowrie/output/mysql.py cowrie/output/mysql.py:37:72: E225 missing whitespace around operator cowrie/output/mysql.py:74:21: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:74:23: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:75:19: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:75:21: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:76:21: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:76:23: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:77:23: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:77:25: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:78:21: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:78:23: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:79:23: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:79:25: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:80:23: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:80:25: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:128:18: E222 multiple spaces after operator 1 E222 multiple spaces after operator 1 E225 missing whitespace around operator 14 E251 unexpected spaces around keyword / parameter equals 16 * flake8 E2 cowrie/output/hpfeeds3.py flake8 --count --select=E1,E2 --statistics cowrie/output/hpfeeds3.py cowrie/output/hpfeeds3.py:68:26: E231 missing whitespace after ':' cowrie/output/hpfeeds3.py:70:26: E231 missing whitespace after ':' cowrie/output/hpfeeds3.py:76:30: E231 missing whitespace after ':' cowrie/output/hpfeeds3.py:77:27: E231 missing whitespace after ':' cowrie/output/hpfeeds3.py:78:34: E231 missing whitespace after ':' cowrie/output/hpfeeds3.py:79:23: E231 missing whitespace after ':' 6 E231 missing whitespace after ':' 6 * flake8 E2 cowrie/output/textlog.py flake8 --count --select=E1,E2 --statistics cowrie/output/textlog.py cowrie/output/textlog.py:63:53: E226 missing whitespace around arithmetic operator cowrie/output/textlog.py:64:67: E226 missing whitespace around arithmetic operator cowrie/output/textlog.py:66:53: E226 missing whitespace around arithmetic operator cowrie/output/textlog.py:67:51: E226 missing whitespace around arithmetic operator 4 E226 missing whitespace around arithmetic operator 4 * flake8 E2 cowrie/output/sqlite.py flake8 --count --select=E1,E2 --statistics cowrie/output/sqlite.py cowrie/output/sqlite.py:36:25: E251 unexpected spaces around keyword / parameter equals cowrie/output/sqlite.py:36:27: E251 unexpected spaces around keyword / parameter equals cowrie/output/sqlite.py:86:18: E222 multiple spaces after operator 1 E222 multiple spaces after operator 2 E251 unexpected spaces around keyword / parameter equals 3 * flake8 E2 cowrie/output/hpfeeds.py flake8 --count --select=E1,E2 --statistics cowrie/output/hpfeeds.py cowrie/output/hpfeeds.py:33:9: E221 multiple spaces before operator cowrie/output/hpfeeds.py:34:8: E221 multiple spaces before operator cowrie/output/hpfeeds.py:35:8: E221 multiple spaces before operator cowrie/output/hpfeeds.py:36:11: E221 multiple spaces before operator cowrie/output/hpfeeds.py:37:13: E221 multiple spaces before operator cowrie/output/hpfeeds.py:41:16: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:42:15: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:42:19: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:43:15: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:43:19: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:44:18: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:45:20: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:45:24: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:73:17: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:73:25: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:78:32: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:94:36: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:127:48: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:248:37: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:248:48: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:300:26: E231 missing whitespace after ':' cowrie/output/hpfeeds.py:302:26: E231 missing whitespace after ':' cowrie/output/hpfeeds.py:308:30: E231 missing whitespace after ':' cowrie/output/hpfeeds.py:309:27: E231 missing whitespace after ':' cowrie/output/hpfeeds.py:310:34: E231 missing whitespace after ':' cowrie/output/hpfeeds.py:311:23: E231 missing whitespace after ':' 5 E221 multiple spaces before operator 15 E226 missing whitespace around arithmetic operator 6 E231 missing whitespace after ':' 26 * flake8 E2 cowrie/output/influx.py flake8 --count --select=E1,E2 --statistics cowrie/output/influx.py cowrie/output/influx.py:109:47: E231 missing whitespace after ',' 1 E231 missing whitespace after ',' 1 * flake8 E2 cowrie/output/virustotal.py flake8 --count --select=E1,E2 --statistics cowrie/output/virustotal.py cowrie/output/virustotal.py:93:13: E265 block comment should start with '# ' cowrie/output/virustotal.py:94:13: E265 block comment should start with '# ' cowrie/output/virustotal.py:95:13: E265 block comment should start with '# ' cowrie/output/virustotal.py:104:13: E265 block comment should start with '# ' cowrie/output/virustotal.py:105:13: E265 block comment should start with '# ' cowrie/output/virustotal.py:113:26: E226 missing whitespace around arithmetic operator cowrie/output/virustotal.py:126:17: E265 block comment should start with '# ' cowrie/output/virustotal.py:180:17: E265 block comment should start with '# ' cowrie/output/virustotal.py:193:26: E226 missing whitespace around arithmetic operator cowrie/output/virustotal.py:197:41: E226 missing whitespace around arithmetic operator cowrie/output/virustotal.py:261:26: E226 missing whitespace around arithmetic operator cowrie/output/virustotal.py:274:17: E265 block comment should start with '# ' cowrie/output/virustotal.py:329:26: E226 missing whitespace around arithmetic operator cowrie/output/virustotal.py:330:23: E201 whitespace after '{' 1 E201 whitespace after '{' 5 E226 missing whitespace around arithmetic operator 8 E265 block comment should start with '# ' 14 * flake8 E2 cowrie/output/jsonlog.py flake8 --count --select=E1,E2 --statistics cowrie/output/jsonlog.py cowrie/output/jsonlog.py:73:59: E225 missing whitespace around operator 1 E225 missing whitespace around operator 1 * flake8 E2 cowrie/output/dshield.py flake8 --count --select=E1,E2 --statistics cowrie/output/dshield.py cowrie/output/dshield.py:39:24: E261 at least two spaces before inline comment cowrie/output/dshield.py:50:23: E203 whitespace before ':' cowrie/output/dshield.py:51:23: E203 whitespace before ':' cowrie/output/dshield.py:52:27: E203 whitespace before ':' cowrie/output/dshield.py:53:28: E203 whitespace before ':' cowrie/output/dshield.py:54:23: E203 whitespace before ':' cowrie/output/dshield.py:55:27: E203 whitespace before ':' cowrie/output/dshield.py:102:27: E231 missing whitespace after ':' cowrie/output/dshield.py:104:9: E265 block comment should start with '# ' cowrie/output/dshield.py:111:19: E251 unexpected spaces around keyword / parameter equals cowrie/output/dshield.py:112:16: E251 unexpected spaces around keyword / parameter equals cowrie/output/dshield.py:112:18: E251 unexpected spaces around keyword / parameter equals cowrie/output/dshield.py:113:20: E251 unexpected spaces around keyword / parameter equals cowrie/output/dshield.py:113:22: E251 unexpected spaces around keyword / parameter equals cowrie/output/dshield.py:114:20: E251 unexpected spaces around keyword / parameter equals cowrie/output/dshield.py:114:22: E251 unexpected spaces around keyword / parameter equals cowrie/output/dshield.py:115:17: E251 unexpected spaces around keyword / parameter equals cowrie/output/dshield.py:115:19: E251 unexpected spaces around keyword / parameter equals cowrie/output/dshield.py:132:57: E226 missing whitespace around arithmetic operator 6 E203 whitespace before ':' 1 E226 missing whitespace around arithmetic operator 1 E231 missing whitespace after ':' 9 E251 unexpected spaces around keyword / parameter equals 1 E261 at least two spaces before inline comment 1 E265 block comment should start with '# ' 19 * flake8 E2 cowrie/output/elasticsearch.py flake8 --count --select=E1,E2 --statistics cowrie/output/elasticsearch.py cowrie/output/elasticsearch.py:22:21: E225 missing whitespace around operator 1 E225 missing whitespace around operator 1flake8 E2 cowrie/output/elasticsearch.py flake8 --count --select=E1,E2 --statistics cowrie/output/elasticsearch.py cowrie/output/elasticsearch.py:22:21: E225 missing whitespace around operator 1 E225 missing whitespace around operator 1flake8 E2 cowrie/output/elasticsearch.py flake8 --count --select=E1,E2 --statistics cowrie/output/elasticsearch.py cowrie/output/elasticsearch.py:22:21: E225 missing whitespace around operator 1 E225 missing whitespace around operator 1flake8 E2 cowrie/output/elasticsearch.py flake8 --count --select=E1,E2 --statistics cowrie/output/elasticsearch.py cowrie/output/elasticsearch.py:22:21: E225 missing whitespace around operator 1 E225 missing whitespace around operator 1flake8 E2 cowrie/output/elasticsearch.py flake8 --count --select=E1,E2 --statistics cowrie/output/elasticsearch.py cowrie/output/elasticsearch.py:22:21: E225 missing whitespace around operator 1 E225 missing whitespace around operator 1flake8 E2 cowrie/output/elasticsearch.py flake8 --count --select=E1,E2 --statistics cowrie/output/elasticsearch.py cowrie/output/elasticsearch.py:22:21: E225 missing whitespace around operator 1 E225 missing whitespace around operator 1flake8 E2 cowrie/output/elasticsearch.py flake8 --count --select=E1,E2 --statistics cowrie/output/elasticsearch.py cowrie/output/elasticsearch.py:22:21: E225 missing whitespace around operator 1 E225 missing whitespace around operator 1flake8 E2 cowrie/output/elasticsearch.py flake8 --count --select=E1,E2 --statistics cowrie/output/elasticsearch.py cowrie/output/elasticsearch.py:22:21: E225 missing whitespace around operator 1 E225 missing whitespace around operator 1 * flake8 E2 cowrie/output/xmpp.py flake8 --count --select=E1,E2 --statistics cowrie/output/xmpp.py cowrie/output/xmpp.py:19:20: E221 multiple spaces before operator cowrie/output/xmpp.py:24:18: E221 multiple spaces before operator cowrie/output/xmpp.py:25:18: E221 multiple spaces before operator cowrie/output/xmpp.py:71:15: E221 multiple spaces before operator cowrie/output/xmpp.py:72:13: E221 multiple spaces before operator cowrie/output/xmpp.py:72:21: E222 multiple spaces after operator cowrie/output/xmpp.py:73:17: E221 multiple spaces before operator cowrie/output/xmpp.py:74:12: E221 multiple spaces before operator cowrie/output/xmpp.py:79:44: E231 missing whitespace after ',' cowrie/output/xmpp.py:79:53: E231 missing whitespace after ',' cowrie/output/xmpp.py:79:58: E231 missing whitespace after ',' cowrie/output/xmpp.py:79:65: E231 missing whitespace after ',' cowrie/output/xmpp.py:86:46: E261 at least two spaces before inline comment cowrie/output/xmpp.py:102:38: E231 missing whitespace after ',' 7 E221 multiple spaces before operator 1 E222 multiple spaces after operator 5 E231 missing whitespace after ',' 1 E261 at least two spaces before inline comment 14 * flake8 E2 cowrie/shell/honeypot.py flake8 --count --select=E1,E2 --statistics cowrie/shell/honeypot.py cowrie/shell/honeypot.py:210:9: E265 block comment should start with '# ' cowrie/shell/honeypot.py:347:32: E226 missing whitespace around arithmetic operator cowrie/shell/honeypot.py:365:43: E226 missing whitespace around arithmetic operator cowrie/shell/honeypot.py:366:29: E222 multiple spaces after operator cowrie/shell/honeypot.py:397:33: E226 missing whitespace around arithmetic operator cowrie/shell/honeypot.py:398:30: E226 missing whitespace around arithmetic operator cowrie/shell/honeypot.py:402:9: E265 block comment should start with '# ' cowrie/shell/honeypot.py:403:9: E265 block comment should start with '# ' cowrie/shell/honeypot.py:408:45: E226 missing whitespace around arithmetic operator cowrie/shell/honeypot.py:408:49: E226 missing whitespace around arithmetic operator cowrie/shell/honeypot.py:408:72: E226 missing whitespace around arithmetic operator cowrie/shell/honeypot.py:408:76: E226 missing whitespace around arithmetic operator cowrie/shell/honeypot.py:414:35: E203 whitespace before ',' cowrie/shell/honeypot.py:440:19: E222 multiple spaces after operator 1 E203 whitespace before ',' 2 E222 multiple spaces after operator 8 E226 missing whitespace around arithmetic operator 3 E265 block comment should start with '# ' 14 * flake8 E2 cowrie/shell/fs.py flake8 --count --select=E1,E2 --statistics cowrie/shell/fs.py cowrie/shell/fs.py:229:63: E225 missing whitespace around operator cowrie/shell/fs.py:377:13: E265 block comment should start with '# ' cowrie/shell/fs.py:416:13: E265 block comment should start with '# ' cowrie/shell/fs.py:457:36: E225 missing whitespace around operator cowrie/shell/fs.py:558:23: E231 missing whitespace after ':' cowrie/shell/fs.py:559:22: E231 missing whitespace after ':' cowrie/shell/fs.py:560:22: E231 missing whitespace after ':' cowrie/shell/fs.py:561:23: E231 missing whitespace after ':' cowrie/shell/fs.py:562:23: E231 missing whitespace after ':' cowrie/shell/fs.py:563:24: E231 missing whitespace after ':' 2 E225 missing whitespace around operator 6 E231 missing whitespace after ':' 2 E265 block comment should start with '# ' 10 * flake8 E2 cowrie/shell/shlex.py flake8 --count --select=E1,E2 --statistics cowrie/shell/shlex.py cowrie/shell/shlex.py:70:13: E265 block comment should start with '# ' cowrie/shell/shlex.py:321:1: E265 block comment should start with '# ' 2 E265 block comment should start with '# ' 2 * flake8 E2 cowrie/shell/filetransfer.py flake8 --count --select=E1,E2 --statistics cowrie/shell/filetransfer.py cowrie/shell/filetransfer.py:83:43: E226 missing whitespace around arithmetic operator cowrie/shell/filetransfer.py:116:33: E226 missing whitespace around arithmetic operator cowrie/shell/filetransfer.py:309:9: E265 block comment should start with '# ' 2 E226 missing whitespace around arithmetic operator 1 E265 block comment should start with '# ' 3 * flake8 E2 cowrie/shell/session.py flake8 --count --select=E1,E2 --statistics cowrie/shell/session.py cowrie/shell/session.py:47:20: E225 missing whitespace around operator cowrie/shell/session.py:48:33: E225 missing whitespace around operator cowrie/shell/session.py:50:33: E225 missing whitespace around operator 3 E225 missing whitespace around operator 3 * flake8 E2 cowrie/shell/customparser.py flake8 --count --select=E1,E2 --statistics cowrie/shell/customparser.py cowrie/shell/customparser.py:56:27: E231 missing whitespace after ',' 1 E231 missing whitespace after ',' 1 * flake8 E2 cowrie/test/test_base_commands.py flake8 --count --select=E1,E2 --statistics cowrie/test/test_base_commands.py cowrie/test/test_base_commands.py:24:58: E211 whitespace before '(' cowrie/test/test_base_commands.py:33:41: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:38:41: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:43:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:47:49: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:52:49: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:57:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:74:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:83:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:87:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:94:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:114:49: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:123:49: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:134:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:139:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:144:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:149:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:154:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:159:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:164:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:169:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:174:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:179:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:184:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:189:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:193:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:198:42: E231 missing whitespace after ',' 1 E211 whitespace before '(' 26 E231 missing whitespace after ',' 27 * flake8 E2 cowrie/test/fake_transport.py flake8 --count --select=E1,E2 --statistics cowrie/test/fake_transport.py cowrie/test/fake_transport.py:8:42: E231 missing whitespace after ',' 1 E231 missing whitespace after ',' 1 * flake8 E2 cowrie/proxy/endpoints.py flake8 --count --select=E1,E2 --statistics cowrie/proxy/endpoints.py cowrie/proxy/endpoints.py:214:29: E226 missing whitespace around arithmetic operator cowrie/proxy/endpoints.py:233:42: E226 missing whitespace around arithmetic operator cowrie/proxy/endpoints.py:323:22: E231 missing whitespace after ',' cowrie/proxy/endpoints.py:323:25: E231 missing whitespace after ',' cowrie/proxy/endpoints.py:323:27: E231 missing whitespace after ',' cowrie/proxy/endpoints.py:323:30: E261 at least two spaces before inline comment cowrie/proxy/endpoints.py:346:55: E226 missing whitespace around arithmetic operator cowrie/proxy/endpoints.py:380:48: E226 missing whitespace around arithmetic operator cowrie/proxy/endpoints.py:824:24: E222 multiple spaces after operator cowrie/proxy/endpoints.py:992:24: E222 multiple spaces after operator 2 E222 multiple spaces after operator 4 E226 missing whitespace around arithmetic operator 3 E231 missing whitespace after ',' 1 E261 at least two spaces before inline comment 10 * flake8 E2 cowrie/proxy/avatar.py flake8 --count --select=E1,E2 --statistics cowrie/proxy/avatar.py cowrie/proxy/avatar.py:14:1: E265 block comment should start with '# ' cowrie/proxy/avatar.py:38:9: E265 block comment should start with '# ' cowrie/proxy/avatar.py:41:9: E265 block comment should start with '# ' cowrie/proxy/avatar.py:59:1: E265 block comment should start with '# ' 4 E265 block comment should start with '# ' 4 * Add TODO for checking SFTP support I removed code which was never used in this version of cowrie. But for me it looks like there is no SFTP support anymore? Look the previous commit message for more details. * flake8 E2 cowrie/proxy/session.py flake8 --count --select=E1,E2 --statistics cowrie/proxy/session.py cowrie/proxy/session.py:15:1: E265 block comment should start with '# ' cowrie/proxy/session.py:60:21: E261 at least two spaces before inline comment cowrie/proxy/session.py:61:18: E261 at least two spaces before inline comment cowrie/proxy/session.py:62:14: E261 at least two spaces before inline comment cowrie/proxy/session.py:71:13: E265 block comment should start with '# ' cowrie/proxy/session.py:83:30: E226 missing whitespace around arithmetic operator cowrie/proxy/session.py:83:42: E226 missing whitespace around arithmetic operator cowrie/proxy/session.py:83:59: E226 missing whitespace around arithmetic operator cowrie/proxy/session.py:91:37: E226 missing whitespace around arithmetic operator cowrie/proxy/session.py:146:9: E265 block comment should start with '# ' cowrie/proxy/session.py:168:32: E226 missing whitespace around arithmetic operator cowrie/proxy/session.py:169:26: E226 missing whitespace around arithmetic operator cowrie/proxy/session.py:170:26: E226 missing whitespace around arithmetic operator cowrie/proxy/session.py:171:26: E226 missing whitespace around arithmetic operator cowrie/proxy/session.py:185:28: E226 missing whitespace around arithmetic operator cowrie/proxy/session.py:189:23: E226 missing whitespace around arithmetic operator cowrie/proxy/session.py:250:9: E265 block comment should start with '# ' cowrie/proxy/session.py:322:13: E265 block comment should start with '# ' 10 E226 missing whitespace around arithmetic operator 3 E261 at least two spaces before inline comment 5 E265 block comment should start with '# ' 18 * flake8 E2 cowire/core/dblog.py flake8 --count --select=E1,E2 --statistics cowrie/core/dblog.py cowrie/core/dblog.py:27:9: E265 block comment should start with '# ' 1 E265 block comment should start with '# ' 1 * flake8 E2 cowrie/core/output.py flake8 --count --select=E1,E2 --statistics cowrie/core/output.py cowrie/core/output.py:172:9: E265 block comment should start with '# ' cowrie/core/output.py:174:13: E265 block comment should start with '# ' cowrie/core/output.py:175:13: E265 block comment should start with '# ' cowrie/core/output.py:176:13: E265 block comment should start with '# ' cowrie/core/output.py:177:13: E265 block comment should start with '# ' cowrie/core/output.py:188:32: E226 missing whitespace around arithmetic operator cowrie/core/output.py:192:36: E226 missing whitespace around arithmetic operator 2 E226 missing whitespace around arithmetic operator 5 E265 block comment should start with '# ' 7 * flake8 E2 cowrie/core/realm.py flake8 --count --select=E1,E2 --statistics cowrie/core/realm.py cowrie/core/realm.py:72:9: E265 block comment should start with '# ' 1 E265 block comment should start with '# ' 1 * flake8 E2 cowrie/core/utils.py flake8 --count --select=E1,E2 --statistics cowrie/core/utils.py cowrie/core/utils.py:35:55: E226 missing whitespace around arithmetic operator cowrie/core/utils.py:38:56: E226 missing whitespace around arithmetic operator cowrie/core/utils.py:57:22: E226 missing whitespace around arithmetic operator cowrie/core/utils.py:58:45: E226 missing whitespace around arithmetic operator cowrie/core/utils.py:59:35: E226 missing whitespace around arithmetic operator 5 E226 missing whitespace around arithmetic operator 5 * Enable flake8 E1 and E2 checks in travis Prevent bad code style of fixed flake8 errors again in the code. * Fixing missspelled variable
2018-07-05 18:46:00 +00:00
package_data={'': ['*.md']},
use_incremental=True,
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, <4',
Fixing flake8 E2 (#796) * flake8 E2 cowrie/insults/insults.py flake8 --count --select=E1,E2 --statistics cowrie/insults/insults.py cowrie/insults/insults.py:51:28: E261 at least two spaces before inline comment cowrie/insults/insults.py:53:28: E261 at least two spaces before inline comment cowrie/insults/insults.py:86:14: E261 at least two spaces before inline comment cowrie/insults/insults.py:86:15: E262 inline comment should start with '# ' cowrie/insults/insults.py:115:13: E265 block comment should start with '# ' cowrie/insults/insults.py:181:47: E226 missing whitespace around arithmetic operator cowrie/insults/insults.py:215:41: E226 missing whitespace around arithmetic operator 2 E226 missing whitespace around arithmetic operator 3 E261 at least two spaces before inline comment 1 E262 inline comment should start with '# ' 1 E265 block comment should start with '# ' 7 * flake8 E2 cowrie/telnet/session.py flake8 --count --select=E1,E2 --statistics cowrie/telnet/session.py cowrie/telnet/session.py:28:11: E261 at least two spaces before inline comment cowrie/telnet/session.py:116:5: E265 block comment should start with '# ' 1 E261 at least two spaces before inline comment 1 E265 block comment should start with '# ' 2 * flake8 E2 cowrie/telnet/transport.py flake8 --count --select=E1,E2 --statistics cowrie/telnet/transport.py cowrie/telnet/transport.py:36:32: E226 missing whitespace around arithmetic operator cowrie/telnet/transport.py:108:9: E265 block comment should start with '# ' cowrie/telnet/transport.py:144:53: E226 missing whitespace around arithmetic operator cowrie/telnet/transport.py:197:13: E265 block comment should start with '# ' cowrie/telnet/transport.py:207:13: E265 block comment should start with '# ' cowrie/telnet/transport.py:208:13: E265 block comment should start with '# ' cowrie/telnet/transport.py:237:30: E226 missing whitespace around arithmetic operator 3 E226 missing whitespace around arithmetic operator 4 E265 block comment should start with '# ' 7 * flake8 E2 cowrie/dblog/xmpp.py lake8 --count --select=E1,E2 --statistics cowrie/dblog/xmpp.py cowrie/dblog/xmpp.py:20:20: E221 multiple spaces before operator cowrie/dblog/xmpp.py:25:18: E221 multiple spaces before operator cowrie/dblog/xmpp.py:26:18: E221 multiple spaces before operator cowrie/dblog/xmpp.py:38:29: E202 whitespace before ')' cowrie/dblog/xmpp.py:44:32: E202 whitespace before ')' cowrie/dblog/xmpp.py:66:15: E221 multiple spaces before operator cowrie/dblog/xmpp.py:67:13: E221 multiple spaces before operator cowrie/dblog/xmpp.py:68:17: E221 multiple spaces before operator cowrie/dblog/xmpp.py:69:12: E221 multiple spaces before operator cowrie/dblog/xmpp.py:81:54: E231 missing whitespace after ',' cowrie/dblog/xmpp.py:81:59: E231 missing whitespace after ',' cowrie/dblog/xmpp.py:81:66: E231 missing whitespace after ',' cowrie/dblog/xmpp.py:88:46: E261 at least two spaces before inline comment cowrie/dblog/xmpp.py:103:84: E203 whitespace before ',' cowrie/dblog/xmpp.py:109:33: E231 missing whitespace after ',' cowrie/dblog/xmpp.py:161:21: E221 multiple spaces before operator 2 E202 whitespace before ')' 1 E203 whitespace before ',' 8 E221 multiple spaces before operator 4 E231 missing whitespace after ',' 1 E261 at least two spaces before inline comment 16 * flake8 E2 cowrie/commands/ping.py flake8 --count --select=E1,E2 --statistics cowrie/commands/ping.py cowrie/commands/ping.py:57:21: E225 missing whitespace around operator cowrie/commands/ping.py:64:29: E226 missing whitespace around arithmetic operator 1 E225 missing whitespace around operator 1 E226 missing whitespace around arithmetic operator 2 * flake8 E2 cowrie/commands/base.py flake8 --count --select=E1,E2 --statistics cowrie/commands/base.py ./cowrie/commands/base.py:29:47: E226 missing whitespace around arithmetic operator ./cowrie/commands/base.py:115:45: E231 missing whitespace after ',' ./cowrie/commands/base.py:246:46: E226 missing whitespace around arithmetic operator ./cowrie/commands/base.py:313:25: E226 missing whitespace around arithmetic operator ./cowrie/commands/base.py:402:29: E226 missing whitespace around arithmetic operator ./cowrie/commands/base.py:495:61: E226 missing whitespace around arithmetic operator ./cowrie/commands/base.py:511:43: E226 missing whitespace around arithmetic operator ./cowrie/commands/base.py:596:29: E226 missing whitespace around arithmetic operator ./cowrie/commands/base.py:640:29: E226 missing whitespace around arithmetic operator 8 E226 missing whitespace around arithmetic operator 1 E231 missing whitespace after ',' 9 * flake8 E2 setup.py flake8 --count --select=E1,E2 --statistics setup.py ./setup.py:5:6: E211 whitespace before '(' ./setup.py:6:9: E251 unexpected spaces around keyword / parameter equals ./setup.py:6:9: E221 multiple spaces before operator ./setup.py:6:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:7:12: E251 unexpected spaces around keyword / parameter equals ./setup.py:7:12: E221 multiple spaces before operator ./setup.py:7:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:8:16: E251 unexpected spaces around keyword / parameter equals ./setup.py:8:16: E221 multiple spaces before operator ./setup.py:8:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:9:15: E251 unexpected spaces around keyword / parameter equals ./setup.py:9:15: E221 multiple spaces before operator ./setup.py:9:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:10:21: E251 unexpected spaces around keyword / parameter equals ./setup.py:10:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:11:13: E251 unexpected spaces around keyword / parameter equals ./setup.py:11:13: E221 multiple spaces before operator ./setup.py:11:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:12:8: E251 unexpected spaces around keyword / parameter equals ./setup.py:12:8: E221 multiple spaces before operator ./setup.py:12:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:13:13: E251 unexpected spaces around keyword / parameter equals ./setup.py:13:13: E221 multiple spaces before operator ./setup.py:13:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:15:17: E251 unexpected spaces around keyword / parameter equals ./setup.py:15:17: E221 multiple spaces before operator ./setup.py:15:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:15:25: E201 whitespace after '{' ./setup.py:15:38: E202 whitespace before '}' ./setup.py:16:12: E251 unexpected spaces around keyword / parameter equals ./setup.py:16:12: E221 multiple spaces before operator ./setup.py:16:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:21:21: E251 unexpected spaces around keyword / parameter equals ./setup.py:21:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:35:17: E251 unexpected spaces around keyword / parameter equals ./setup.py:35:17: E221 multiple spaces before operator ./setup.py:35:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:38:19: E251 unexpected spaces around keyword / parameter equals ./setup.py:38:19: E221 multiple spaces before operator ./setup.py:38:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:38:25: E201 whitespace after '{' 1 E127 continuation line over-indented for visual indent 1 E201 whitespace after '{' 1 E202 whitespace before '}' 1 E211 whitespace before '(' 26 E251 unexpected spaces around keyword / parameter equals 30 * flake8 E2 cowrie/shell/protocol.py flake8 --count --select=E1,E2 --statistics cowrie/shell/protocol.py cowrie/shell/protocol.py:63:119: E231 missing whitespace after ',' cowrie/shell/protocol.py:63:129: E231 missing whitespace after ',' cowrie/shell/protocol.py:139:29: E261 at least two spaces before inline comment cowrie/shell/protocol.py:146:9: E265 block comment should start with '# ' cowrie/shell/protocol.py:231:9: E265 block comment should start with '# ' cowrie/shell/protocol.py:309:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:309:43: E261 at least two spaces before inline comment cowrie/shell/protocol.py:310:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:310:43: E261 at least two spaces before inline comment cowrie/shell/protocol.py:311:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:311:45: E261 at least two spaces before inline comment cowrie/shell/protocol.py:312:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:312:45: E261 at least two spaces before inline comment cowrie/shell/protocol.py:313:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:313:42: E261 at least two spaces before inline comment cowrie/shell/protocol.py:314:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:314:44: E261 at least two spaces before inline comment cowrie/shell/protocol.py:315:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:315:48: E261 at least two spaces before inline comment cowrie/shell/protocol.py:316:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:317:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:317:45: E261 at least two spaces before inline comment cowrie/shell/protocol.py:318:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:318:45: E261 at least two spaces before inline comment cowrie/shell/protocol.py:319:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:319:43: E261 at least two spaces before inline comment cowrie/shell/protocol.py:320:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:320:41: E261 at least two spaces before inline comment cowrie/shell/protocol.py:321:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:321:45: E261 at least two spaces before inline comment cowrie/shell/protocol.py:322:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:322:45: E261 at least two spaces before inline comment cowrie/shell/protocol.py:323:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:323:42: E261 at least two spaces before inline comment cowrie/shell/protocol.py:331:67: E226 missing whitespace around arithmetic operator cowrie/shell/protocol.py:375:70: E226 missing whitespace around arithmetic operator 2 E226 missing whitespace around arithmetic operator 2 E231 missing whitespace after ',' 15 E241 multiple spaces after ':' 15 E261 at least two spaces before inline comment 2 E265 block comment should start with '# ' 36 * flake8 E2 cowrie/commands/scp.py flake8 --count --select=E1,E2 --statistics cowrie/commands/scp.py cowrie/commands/scp.py:235:48: E226 missing whitespace around arithmetic operator 1 E226 missing whitespace around arithmetic operator 1 * flake8 E2 cowrie/commands/ifconfig.py flake8 --count --select=E1,E2 --statistics cowrie/commands/ifconfig.py cowrie/commands/ifconfig.py:34:21: E226 missing whitespace around arithmetic operator 1 E226 missing whitespace around arithmetic operator 1 * flake8 E2 cowrie/commands/ssh.py flake8 --count --select=E1,E2 --statistics cowrie/commands/ssh.py cowrie/commands/ssh.py:58:29: E226 missing whitespace around arithmetic operator 1 E226 missing whitespace around arithmetic operator 1 * flake8 E2 cowrie/commands/iptables.py flake8 --count --select=E1,E2 --statistics cowrie/commands/iptables.py cowrie/commands/iptables.py:69:28: E231 missing whitespace after ',' cowrie/commands/iptables.py:69:36: E231 missing whitespace after ',' cowrie/commands/iptables.py:69:42: E231 missing whitespace after ',' cowrie/commands/iptables.py:71:24: E225 missing whitespace around operator cowrie/commands/iptables.py:74:24: E225 missing whitespace around operator cowrie/commands/iptables.py:75:38: E231 missing whitespace after ',' cowrie/commands/iptables.py:75:50: E231 missing whitespace after ',' cowrie/commands/iptables.py:320:41: E226 missing whitespace around arithmetic operator cowrie/commands/iptables.py:359:43: E226 missing whitespace around arithmetic operator 2 E225 missing whitespace around operator 2 E226 missing whitespace around arithmetic operator 5 E231 missing whitespace after ',' 9 * flake8 E2 cowrie/commands/python.py flake8 --count --select=E1,E2 --statistics cowrie/commands/python.py cowrie/commands/python.py:83:45: E222 multiple spaces after operator 1 E222 multiple spaces after operator 1 * flake8 E2 cowrie/commands/apt.py flake8 --count --select=E1,E2 --statistics cowrie/commands/apt.py cowrie/commands/apt.py:42:32: E251 unexpected spaces around keyword / parameter equals cowrie/commands/apt.py:42:34: E251 unexpected spaces around keyword / parameter equals cowrie/commands/apt.py:113:24: E231 missing whitespace after ',' cowrie/commands/apt.py:115:112: E231 missing whitespace after ',' cowrie/commands/apt.py:122:27: E241 multiple spaces after ':' cowrie/commands/apt.py:126:24: E241 multiple spaces after ':' 2 E231 missing whitespace after ',' 2 E241 multiple spaces after ':' 2 E251 unexpected spaces around keyword / parameter equals 6 * flake8 E2 cowrie/commands/fs.py flake8 --count --select=E1,E2 --statistics cowrie/commands/fs.py cowrie/commands/fs.py:36:35: E231 missing whitespace after ',' cowrie/commands/fs.py:45:20: E201 whitespace after '(' cowrie/commands/fs.py:46:20: E201 whitespace after '(' cowrie/commands/fs.py:47:20: E201 whitespace after '(' cowrie/commands/fs.py:48:20: E201 whitespace after '(' 4 E201 whitespace after '(' 1 E231 missing whitespace after ',' 5 * flake8 E2 cowrie/commands/gcc.py flake8 --count --select=E1,E2 --statistics cowrie/commands/gcc.py cowrie/commands/gcc.py:21:13: E221 multiple spaces before operator cowrie/commands/gcc.py:166:24: E226 missing whitespace around arithmetic operator 1 E221 multiple spaces before operator 1 E226 missing whitespace around arithmetic operator 2 * flake8 E2 cowrie/commands/last.py flake8 --count --select=E1,E2 --statistics cowrie/commands/last.py cowrie/commands/last.py:30:48: E231 missing whitespace after ',' cowrie/commands/last.py:36:81: E226 missing whitespace around arithmetic operator cowrie/commands/last.py:36:93: E226 missing whitespace around arithmetic operator cowrie/commands/last.py:36:102: E202 whitespace before ')' cowrie/commands/last.py:36:105: E202 whitespace before ')' 2 E202 whitespace before ')' 2 E226 missing whitespace around arithmetic operator 1 E231 missing whitespace after ',' 5 * flake8 E2 cowrie/commands/busybox.py flake8 --count --select=E1,E2 --statistics cowrie/commands/busybox.py cowrie/commands/busybox.py:6:50: E231 missing whitespace after ',' cowrie/commands/busybox.py:11:13: E225 missing whitespace around operator cowrie/commands/busybox.py:62:31: E226 missing whitespace around arithmetic operator 1 E225 missing whitespace around operator 1 E226 missing whitespace around arithmetic operator 1 E231 missing whitespace after ',' 3 * flake8 E2 cowrie/commands/netstat.py flake8 --count --select=E1,E2 --statistics cowrie/commands/netstat.py cowrie/commands/netstat.py:75:22: E226 missing whitespace around arithmetic operator cowrie/commands/netstat.py:76:22: E226 missing whitespace around arithmetic operator cowrie/commands/netstat.py:97:37: E226 missing whitespace around arithmetic operator cowrie/commands/netstat.py:97:41: E226 missing whitespace around arithmetic operator cowrie/commands/netstat.py:97:52: E226 missing whitespace around arithmetic operator cowrie/commands/netstat.py:97:60: E226 missing whitespace around arithmetic operator cowrie/commands/netstat.py:98:37: E226 missing whitespace around arithmetic operator cowrie/commands/netstat.py:98:41: E226 missing whitespace around arithmetic operator cowrie/commands/netstat.py:98:52: E226 missing whitespace around arithmetic operator cowrie/commands/netstat.py:98:60: E226 missing whitespace around arithmetic operator cowrie/commands/netstat.py:100:25: E226 missing whitespace around arithmetic operator 11 E226 missing whitespace around arithmetic operator 11 * flake8 E2 cowrie/commands/free.py flake8 --count --select=E1,E2 --statistics cowrie/commands/free.py cowrie/commands/free.py:16:11: E225 missing whitespace around operator cowrie/commands/free.py:21:10: E225 missing whitespace around operator cowrie/commands/free.py:26:11: E225 missing whitespace around operator cowrie/commands/free.py:60:15: E225 missing whitespace around operator cowrie/commands/free.py:61:34: E226 missing whitespace around arithmetic operator cowrie/commands/free.py:62:17: E225 missing whitespace around operator cowrie/commands/free.py:63:33: E226 missing whitespace around arithmetic operator cowrie/commands/free.py:64:17: E225 missing whitespace around operator cowrie/commands/free.py:65:34: E226 missing whitespace around arithmetic operator 6 E225 missing whitespace around operator 3 E226 missing whitespace around arithmetic operator 9 * flake8 E2 cowrie/commands/ls.py flake8 --count --select=E1,E2 --statistics cowrie/commands/ls.py cowrie/commands/ls.py:189:25: E226 missing whitespace around arithmetic operator 1 E226 missing whitespace around arithmetic operator 1 * flake8 E2 cowrie/commands/cat.py flake8 --count --select=E1,E2 --statistics cowrie/commands/cat.py cowrie/commands/cat.py:79:28: E226 missing whitespace around arithmetic operator 1 E226 missing whitespace around arithmetic operator 1 * flake8 E2 cowrie/commands/tar.py flake8 --count --select=E1,E2 --statistics cowrie/commands/tar.py cowrie/commands/tar.py:75:34: E226 missing whitespace around arithmetic operator 1 E226 missing whitespace around arithmetic operator 1 * flake8 E2 cowrie/commands/sudo.py flake8 --count --select=E1,E2 --statistics cowrie/commands/sudo.py cowrie/commands/sudo.py:9:50: E231 missing whitespace after ',' cowrie/commands/sudo.py:13:15: E225 missing whitespace around operator cowrie/commands/sudo.py:22:14: E225 missing whitespace around operator cowrie/commands/sudo.py:66:31: E226 missing whitespace around arithmetic operator cowrie/commands/sudo.py:74:31: E226 missing whitespace around arithmetic operator cowrie/commands/sudo.py:95:29: E231 missing whitespace after ',' cowrie/commands/sudo.py:96:26: E222 multiple spaces after operator cowrie/commands/sudo.py:101:45: E231 missing whitespace after ',' cowrie/commands/sudo.py:125:17: E265 block comment should start with '# ' cowrie/commands/sudo.py:128:70: E231 missing whitespace after ',' cowrie/commands/sudo.py:128:79: E231 missing whitespace after ',' cowrie/commands/sudo.py:128:106: E203 whitespace before ',' cowrie/commands/sudo.py:128:107: E231 missing whitespace after ',' 1 E203 whitespace before ',' 1 E222 multiple spaces after operator 2 E225 missing whitespace around operator 2 E226 missing whitespace around arithmetic operator 6 E231 missing whitespace after ',' 1 E265 block comment should start with '# ' 13 * flake8 E2 cowrie/commands/env.py flake8 --count --select=E1,E2 --statistics cowrie/commands/env.py cowrie/commands/env.py:41:39: E231 missing whitespace after ',' 1 E231 missing whitespace after ',' 1 * flake8 E2 cowrie/commands/curl.py flake8 --count --select=E1,E2 --statistics cowrie/commands/curl.py cowrie/commands/curl.py:85:12: E225 missing whitespace around operator cowrie/commands/curl.py:294:14: E261 at least two spaces before inline comment cowrie/commands/curl.py:349:46: E261 at least two spaces before inline comment cowrie/commands/curl.py:351:25: E226 missing whitespace around arithmetic operator cowrie/commands/curl.py:383:30: E261 at least two spaces before inline comment cowrie/commands/curl.py:437:46: E226 missing whitespace around arithmetic operator cowrie/commands/curl.py:437:64: E226 missing whitespace around arithmetic operator cowrie/commands/curl.py:440:55: E226 missing whitespace around arithmetic operator cowrie/commands/curl.py:464:41: E226 missing whitespace around arithmetic operator 1 E225 missing whitespace around operator 5 E226 missing whitespace around arithmetic operator 3 E261 at least two spaces before inline comment 9 * flake8 E2 cowrie/ssh/factory.py flake8 --count --select=E1,E2 --statistics cowrie/ssh/factory.py cowrie/ssh/factory.py:39:15: E261 at least two spaces before inline comment cowrie/ssh/factory.py:45:32: E226 missing whitespace around arithmetic operator 1 E226 missing whitespace around arithmetic operator 1 E261 at least two spaces before inline comment 2 * flake8 E2 cowrie/ssh/session.py flake8 --count --select=E1,E2 --statistics cowrie/ssh/session.py cowrie/ssh/session.py:22:9: E265 block comment should start with '# ' 1 E265 block comment should start with '# ' 1 * flake8 E2 cowrie/ssh/channel.py flake8 --count --select=E1,E2 --statistics cowrie/ssh/channel.py cowrie/ssh/channel.py:81:40: E226 missing whitespace around arithmetic operator cowrie/ssh/channel.py:82:37: E226 missing whitespace around arithmetic operator 2 E226 missing whitespace around arithmetic operator 2 * flake8 E2 cowrie/ssh/userauth.py flake8 --count --select=E1,E2 --statistics cowrie/ssh/userauth.py cowrie/ssh/userauth.py:133:26: E261 at least two spaces before inline comment cowrie/ssh/userauth.py:135:28: E261 at least two spaces before inline comment 2 E261 at least two spaces before inline comment 2 * flake8 E2 cowrie/ssh/transport.py flake8 --count --select=E1,E2 --statistics cowrie/ssh/transport.py cowrie/ssh/transport.py:59:56: E226 missing whitespace around arithmetic operator cowrie/ssh/transport.py:61:33: E226 missing whitespace around arithmetic operator cowrie/ssh/transport.py:61:55: E226 missing whitespace around arithmetic operator cowrie/ssh/transport.py:96:13: E265 block comment should start with '# ' cowrie/ssh/transport.py:107:38: E226 missing whitespace around arithmetic operator 4 E226 missing whitespace around arithmetic operator 1 E265 block comment should start with '# ' 5 * flake8 E2 cowrie/output/mysql.py flake8 --count --select=E1,E2 --statistics cowrie/output/mysql.py cowrie/output/mysql.py:37:72: E225 missing whitespace around operator cowrie/output/mysql.py:74:21: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:74:23: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:75:19: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:75:21: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:76:21: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:76:23: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:77:23: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:77:25: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:78:21: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:78:23: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:79:23: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:79:25: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:80:23: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:80:25: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:128:18: E222 multiple spaces after operator 1 E222 multiple spaces after operator 1 E225 missing whitespace around operator 14 E251 unexpected spaces around keyword / parameter equals 16 * flake8 E2 cowrie/output/hpfeeds3.py flake8 --count --select=E1,E2 --statistics cowrie/output/hpfeeds3.py cowrie/output/hpfeeds3.py:68:26: E231 missing whitespace after ':' cowrie/output/hpfeeds3.py:70:26: E231 missing whitespace after ':' cowrie/output/hpfeeds3.py:76:30: E231 missing whitespace after ':' cowrie/output/hpfeeds3.py:77:27: E231 missing whitespace after ':' cowrie/output/hpfeeds3.py:78:34: E231 missing whitespace after ':' cowrie/output/hpfeeds3.py:79:23: E231 missing whitespace after ':' 6 E231 missing whitespace after ':' 6 * flake8 E2 cowrie/output/textlog.py flake8 --count --select=E1,E2 --statistics cowrie/output/textlog.py cowrie/output/textlog.py:63:53: E226 missing whitespace around arithmetic operator cowrie/output/textlog.py:64:67: E226 missing whitespace around arithmetic operator cowrie/output/textlog.py:66:53: E226 missing whitespace around arithmetic operator cowrie/output/textlog.py:67:51: E226 missing whitespace around arithmetic operator 4 E226 missing whitespace around arithmetic operator 4 * flake8 E2 cowrie/output/sqlite.py flake8 --count --select=E1,E2 --statistics cowrie/output/sqlite.py cowrie/output/sqlite.py:36:25: E251 unexpected spaces around keyword / parameter equals cowrie/output/sqlite.py:36:27: E251 unexpected spaces around keyword / parameter equals cowrie/output/sqlite.py:86:18: E222 multiple spaces after operator 1 E222 multiple spaces after operator 2 E251 unexpected spaces around keyword / parameter equals 3 * flake8 E2 cowrie/output/hpfeeds.py flake8 --count --select=E1,E2 --statistics cowrie/output/hpfeeds.py cowrie/output/hpfeeds.py:33:9: E221 multiple spaces before operator cowrie/output/hpfeeds.py:34:8: E221 multiple spaces before operator cowrie/output/hpfeeds.py:35:8: E221 multiple spaces before operator cowrie/output/hpfeeds.py:36:11: E221 multiple spaces before operator cowrie/output/hpfeeds.py:37:13: E221 multiple spaces before operator cowrie/output/hpfeeds.py:41:16: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:42:15: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:42:19: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:43:15: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:43:19: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:44:18: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:45:20: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:45:24: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:73:17: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:73:25: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:78:32: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:94:36: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:127:48: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:248:37: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:248:48: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:300:26: E231 missing whitespace after ':' cowrie/output/hpfeeds.py:302:26: E231 missing whitespace after ':' cowrie/output/hpfeeds.py:308:30: E231 missing whitespace after ':' cowrie/output/hpfeeds.py:309:27: E231 missing whitespace after ':' cowrie/output/hpfeeds.py:310:34: E231 missing whitespace after ':' cowrie/output/hpfeeds.py:311:23: E231 missing whitespace after ':' 5 E221 multiple spaces before operator 15 E226 missing whitespace around arithmetic operator 6 E231 missing whitespace after ':' 26 * flake8 E2 cowrie/output/influx.py flake8 --count --select=E1,E2 --statistics cowrie/output/influx.py cowrie/output/influx.py:109:47: E231 missing whitespace after ',' 1 E231 missing whitespace after ',' 1 * flake8 E2 cowrie/output/virustotal.py flake8 --count --select=E1,E2 --statistics cowrie/output/virustotal.py cowrie/output/virustotal.py:93:13: E265 block comment should start with '# ' cowrie/output/virustotal.py:94:13: E265 block comment should start with '# ' cowrie/output/virustotal.py:95:13: E265 block comment should start with '# ' cowrie/output/virustotal.py:104:13: E265 block comment should start with '# ' cowrie/output/virustotal.py:105:13: E265 block comment should start with '# ' cowrie/output/virustotal.py:113:26: E226 missing whitespace around arithmetic operator cowrie/output/virustotal.py:126:17: E265 block comment should start with '# ' cowrie/output/virustotal.py:180:17: E265 block comment should start with '# ' cowrie/output/virustotal.py:193:26: E226 missing whitespace around arithmetic operator cowrie/output/virustotal.py:197:41: E226 missing whitespace around arithmetic operator cowrie/output/virustotal.py:261:26: E226 missing whitespace around arithmetic operator cowrie/output/virustotal.py:274:17: E265 block comment should start with '# ' cowrie/output/virustotal.py:329:26: E226 missing whitespace around arithmetic operator cowrie/output/virustotal.py:330:23: E201 whitespace after '{' 1 E201 whitespace after '{' 5 E226 missing whitespace around arithmetic operator 8 E265 block comment should start with '# ' 14 * flake8 E2 cowrie/output/jsonlog.py flake8 --count --select=E1,E2 --statistics cowrie/output/jsonlog.py cowrie/output/jsonlog.py:73:59: E225 missing whitespace around operator 1 E225 missing whitespace around operator 1 * flake8 E2 cowrie/output/dshield.py flake8 --count --select=E1,E2 --statistics cowrie/output/dshield.py cowrie/output/dshield.py:39:24: E261 at least two spaces before inline comment cowrie/output/dshield.py:50:23: E203 whitespace before ':' cowrie/output/dshield.py:51:23: E203 whitespace before ':' cowrie/output/dshield.py:52:27: E203 whitespace before ':' cowrie/output/dshield.py:53:28: E203 whitespace before ':' cowrie/output/dshield.py:54:23: E203 whitespace before ':' cowrie/output/dshield.py:55:27: E203 whitespace before ':' cowrie/output/dshield.py:102:27: E231 missing whitespace after ':' cowrie/output/dshield.py:104:9: E265 block comment should start with '# ' cowrie/output/dshield.py:111:19: E251 unexpected spaces around keyword / parameter equals cowrie/output/dshield.py:112:16: E251 unexpected spaces around keyword / parameter equals cowrie/output/dshield.py:112:18: E251 unexpected spaces around keyword / parameter equals cowrie/output/dshield.py:113:20: E251 unexpected spaces around keyword / parameter equals cowrie/output/dshield.py:113:22: E251 unexpected spaces around keyword / parameter equals cowrie/output/dshield.py:114:20: E251 unexpected spaces around keyword / parameter equals cowrie/output/dshield.py:114:22: E251 unexpected spaces around keyword / parameter equals cowrie/output/dshield.py:115:17: E251 unexpected spaces around keyword / parameter equals cowrie/output/dshield.py:115:19: E251 unexpected spaces around keyword / parameter equals cowrie/output/dshield.py:132:57: E226 missing whitespace around arithmetic operator 6 E203 whitespace before ':' 1 E226 missing whitespace around arithmetic operator 1 E231 missing whitespace after ':' 9 E251 unexpected spaces around keyword / parameter equals 1 E261 at least two spaces before inline comment 1 E265 block comment should start with '# ' 19 * flake8 E2 cowrie/output/elasticsearch.py flake8 --count --select=E1,E2 --statistics cowrie/output/elasticsearch.py cowrie/output/elasticsearch.py:22:21: E225 missing whitespace around operator 1 E225 missing whitespace around operator 1flake8 E2 cowrie/output/elasticsearch.py flake8 --count --select=E1,E2 --statistics cowrie/output/elasticsearch.py cowrie/output/elasticsearch.py:22:21: E225 missing whitespace around operator 1 E225 missing whitespace around operator 1flake8 E2 cowrie/output/elasticsearch.py flake8 --count --select=E1,E2 --statistics cowrie/output/elasticsearch.py cowrie/output/elasticsearch.py:22:21: E225 missing whitespace around operator 1 E225 missing whitespace around operator 1flake8 E2 cowrie/output/elasticsearch.py flake8 --count --select=E1,E2 --statistics cowrie/output/elasticsearch.py cowrie/output/elasticsearch.py:22:21: E225 missing whitespace around operator 1 E225 missing whitespace around operator 1flake8 E2 cowrie/output/elasticsearch.py flake8 --count --select=E1,E2 --statistics cowrie/output/elasticsearch.py cowrie/output/elasticsearch.py:22:21: E225 missing whitespace around operator 1 E225 missing whitespace around operator 1flake8 E2 cowrie/output/elasticsearch.py flake8 --count --select=E1,E2 --statistics cowrie/output/elasticsearch.py cowrie/output/elasticsearch.py:22:21: E225 missing whitespace around operator 1 E225 missing whitespace around operator 1flake8 E2 cowrie/output/elasticsearch.py flake8 --count --select=E1,E2 --statistics cowrie/output/elasticsearch.py cowrie/output/elasticsearch.py:22:21: E225 missing whitespace around operator 1 E225 missing whitespace around operator 1flake8 E2 cowrie/output/elasticsearch.py flake8 --count --select=E1,E2 --statistics cowrie/output/elasticsearch.py cowrie/output/elasticsearch.py:22:21: E225 missing whitespace around operator 1 E225 missing whitespace around operator 1 * flake8 E2 cowrie/output/xmpp.py flake8 --count --select=E1,E2 --statistics cowrie/output/xmpp.py cowrie/output/xmpp.py:19:20: E221 multiple spaces before operator cowrie/output/xmpp.py:24:18: E221 multiple spaces before operator cowrie/output/xmpp.py:25:18: E221 multiple spaces before operator cowrie/output/xmpp.py:71:15: E221 multiple spaces before operator cowrie/output/xmpp.py:72:13: E221 multiple spaces before operator cowrie/output/xmpp.py:72:21: E222 multiple spaces after operator cowrie/output/xmpp.py:73:17: E221 multiple spaces before operator cowrie/output/xmpp.py:74:12: E221 multiple spaces before operator cowrie/output/xmpp.py:79:44: E231 missing whitespace after ',' cowrie/output/xmpp.py:79:53: E231 missing whitespace after ',' cowrie/output/xmpp.py:79:58: E231 missing whitespace after ',' cowrie/output/xmpp.py:79:65: E231 missing whitespace after ',' cowrie/output/xmpp.py:86:46: E261 at least two spaces before inline comment cowrie/output/xmpp.py:102:38: E231 missing whitespace after ',' 7 E221 multiple spaces before operator 1 E222 multiple spaces after operator 5 E231 missing whitespace after ',' 1 E261 at least two spaces before inline comment 14 * flake8 E2 cowrie/shell/honeypot.py flake8 --count --select=E1,E2 --statistics cowrie/shell/honeypot.py cowrie/shell/honeypot.py:210:9: E265 block comment should start with '# ' cowrie/shell/honeypot.py:347:32: E226 missing whitespace around arithmetic operator cowrie/shell/honeypot.py:365:43: E226 missing whitespace around arithmetic operator cowrie/shell/honeypot.py:366:29: E222 multiple spaces after operator cowrie/shell/honeypot.py:397:33: E226 missing whitespace around arithmetic operator cowrie/shell/honeypot.py:398:30: E226 missing whitespace around arithmetic operator cowrie/shell/honeypot.py:402:9: E265 block comment should start with '# ' cowrie/shell/honeypot.py:403:9: E265 block comment should start with '# ' cowrie/shell/honeypot.py:408:45: E226 missing whitespace around arithmetic operator cowrie/shell/honeypot.py:408:49: E226 missing whitespace around arithmetic operator cowrie/shell/honeypot.py:408:72: E226 missing whitespace around arithmetic operator cowrie/shell/honeypot.py:408:76: E226 missing whitespace around arithmetic operator cowrie/shell/honeypot.py:414:35: E203 whitespace before ',' cowrie/shell/honeypot.py:440:19: E222 multiple spaces after operator 1 E203 whitespace before ',' 2 E222 multiple spaces after operator 8 E226 missing whitespace around arithmetic operator 3 E265 block comment should start with '# ' 14 * flake8 E2 cowrie/shell/fs.py flake8 --count --select=E1,E2 --statistics cowrie/shell/fs.py cowrie/shell/fs.py:229:63: E225 missing whitespace around operator cowrie/shell/fs.py:377:13: E265 block comment should start with '# ' cowrie/shell/fs.py:416:13: E265 block comment should start with '# ' cowrie/shell/fs.py:457:36: E225 missing whitespace around operator cowrie/shell/fs.py:558:23: E231 missing whitespace after ':' cowrie/shell/fs.py:559:22: E231 missing whitespace after ':' cowrie/shell/fs.py:560:22: E231 missing whitespace after ':' cowrie/shell/fs.py:561:23: E231 missing whitespace after ':' cowrie/shell/fs.py:562:23: E231 missing whitespace after ':' cowrie/shell/fs.py:563:24: E231 missing whitespace after ':' 2 E225 missing whitespace around operator 6 E231 missing whitespace after ':' 2 E265 block comment should start with '# ' 10 * flake8 E2 cowrie/shell/shlex.py flake8 --count --select=E1,E2 --statistics cowrie/shell/shlex.py cowrie/shell/shlex.py:70:13: E265 block comment should start with '# ' cowrie/shell/shlex.py:321:1: E265 block comment should start with '# ' 2 E265 block comment should start with '# ' 2 * flake8 E2 cowrie/shell/filetransfer.py flake8 --count --select=E1,E2 --statistics cowrie/shell/filetransfer.py cowrie/shell/filetransfer.py:83:43: E226 missing whitespace around arithmetic operator cowrie/shell/filetransfer.py:116:33: E226 missing whitespace around arithmetic operator cowrie/shell/filetransfer.py:309:9: E265 block comment should start with '# ' 2 E226 missing whitespace around arithmetic operator 1 E265 block comment should start with '# ' 3 * flake8 E2 cowrie/shell/session.py flake8 --count --select=E1,E2 --statistics cowrie/shell/session.py cowrie/shell/session.py:47:20: E225 missing whitespace around operator cowrie/shell/session.py:48:33: E225 missing whitespace around operator cowrie/shell/session.py:50:33: E225 missing whitespace around operator 3 E225 missing whitespace around operator 3 * flake8 E2 cowrie/shell/customparser.py flake8 --count --select=E1,E2 --statistics cowrie/shell/customparser.py cowrie/shell/customparser.py:56:27: E231 missing whitespace after ',' 1 E231 missing whitespace after ',' 1 * flake8 E2 cowrie/test/test_base_commands.py flake8 --count --select=E1,E2 --statistics cowrie/test/test_base_commands.py cowrie/test/test_base_commands.py:24:58: E211 whitespace before '(' cowrie/test/test_base_commands.py:33:41: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:38:41: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:43:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:47:49: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:52:49: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:57:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:74:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:83:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:87:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:94:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:114:49: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:123:49: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:134:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:139:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:144:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:149:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:154:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:159:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:164:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:169:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:174:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:179:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:184:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:189:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:193:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:198:42: E231 missing whitespace after ',' 1 E211 whitespace before '(' 26 E231 missing whitespace after ',' 27 * flake8 E2 cowrie/test/fake_transport.py flake8 --count --select=E1,E2 --statistics cowrie/test/fake_transport.py cowrie/test/fake_transport.py:8:42: E231 missing whitespace after ',' 1 E231 missing whitespace after ',' 1 * flake8 E2 cowrie/proxy/endpoints.py flake8 --count --select=E1,E2 --statistics cowrie/proxy/endpoints.py cowrie/proxy/endpoints.py:214:29: E226 missing whitespace around arithmetic operator cowrie/proxy/endpoints.py:233:42: E226 missing whitespace around arithmetic operator cowrie/proxy/endpoints.py:323:22: E231 missing whitespace after ',' cowrie/proxy/endpoints.py:323:25: E231 missing whitespace after ',' cowrie/proxy/endpoints.py:323:27: E231 missing whitespace after ',' cowrie/proxy/endpoints.py:323:30: E261 at least two spaces before inline comment cowrie/proxy/endpoints.py:346:55: E226 missing whitespace around arithmetic operator cowrie/proxy/endpoints.py:380:48: E226 missing whitespace around arithmetic operator cowrie/proxy/endpoints.py:824:24: E222 multiple spaces after operator cowrie/proxy/endpoints.py:992:24: E222 multiple spaces after operator 2 E222 multiple spaces after operator 4 E226 missing whitespace around arithmetic operator 3 E231 missing whitespace after ',' 1 E261 at least two spaces before inline comment 10 * flake8 E2 cowrie/proxy/avatar.py flake8 --count --select=E1,E2 --statistics cowrie/proxy/avatar.py cowrie/proxy/avatar.py:14:1: E265 block comment should start with '# ' cowrie/proxy/avatar.py:38:9: E265 block comment should start with '# ' cowrie/proxy/avatar.py:41:9: E265 block comment should start with '# ' cowrie/proxy/avatar.py:59:1: E265 block comment should start with '# ' 4 E265 block comment should start with '# ' 4 * Add TODO for checking SFTP support I removed code which was never used in this version of cowrie. But for me it looks like there is no SFTP support anymore? Look the previous commit message for more details. * flake8 E2 cowrie/proxy/session.py flake8 --count --select=E1,E2 --statistics cowrie/proxy/session.py cowrie/proxy/session.py:15:1: E265 block comment should start with '# ' cowrie/proxy/session.py:60:21: E261 at least two spaces before inline comment cowrie/proxy/session.py:61:18: E261 at least two spaces before inline comment cowrie/proxy/session.py:62:14: E261 at least two spaces before inline comment cowrie/proxy/session.py:71:13: E265 block comment should start with '# ' cowrie/proxy/session.py:83:30: E226 missing whitespace around arithmetic operator cowrie/proxy/session.py:83:42: E226 missing whitespace around arithmetic operator cowrie/proxy/session.py:83:59: E226 missing whitespace around arithmetic operator cowrie/proxy/session.py:91:37: E226 missing whitespace around arithmetic operator cowrie/proxy/session.py:146:9: E265 block comment should start with '# ' cowrie/proxy/session.py:168:32: E226 missing whitespace around arithmetic operator cowrie/proxy/session.py:169:26: E226 missing whitespace around arithmetic operator cowrie/proxy/session.py:170:26: E226 missing whitespace around arithmetic operator cowrie/proxy/session.py:171:26: E226 missing whitespace around arithmetic operator cowrie/proxy/session.py:185:28: E226 missing whitespace around arithmetic operator cowrie/proxy/session.py:189:23: E226 missing whitespace around arithmetic operator cowrie/proxy/session.py:250:9: E265 block comment should start with '# ' cowrie/proxy/session.py:322:13: E265 block comment should start with '# ' 10 E226 missing whitespace around arithmetic operator 3 E261 at least two spaces before inline comment 5 E265 block comment should start with '# ' 18 * flake8 E2 cowire/core/dblog.py flake8 --count --select=E1,E2 --statistics cowrie/core/dblog.py cowrie/core/dblog.py:27:9: E265 block comment should start with '# ' 1 E265 block comment should start with '# ' 1 * flake8 E2 cowrie/core/output.py flake8 --count --select=E1,E2 --statistics cowrie/core/output.py cowrie/core/output.py:172:9: E265 block comment should start with '# ' cowrie/core/output.py:174:13: E265 block comment should start with '# ' cowrie/core/output.py:175:13: E265 block comment should start with '# ' cowrie/core/output.py:176:13: E265 block comment should start with '# ' cowrie/core/output.py:177:13: E265 block comment should start with '# ' cowrie/core/output.py:188:32: E226 missing whitespace around arithmetic operator cowrie/core/output.py:192:36: E226 missing whitespace around arithmetic operator 2 E226 missing whitespace around arithmetic operator 5 E265 block comment should start with '# ' 7 * flake8 E2 cowrie/core/realm.py flake8 --count --select=E1,E2 --statistics cowrie/core/realm.py cowrie/core/realm.py:72:9: E265 block comment should start with '# ' 1 E265 block comment should start with '# ' 1 * flake8 E2 cowrie/core/utils.py flake8 --count --select=E1,E2 --statistics cowrie/core/utils.py cowrie/core/utils.py:35:55: E226 missing whitespace around arithmetic operator cowrie/core/utils.py:38:56: E226 missing whitespace around arithmetic operator cowrie/core/utils.py:57:22: E226 missing whitespace around arithmetic operator cowrie/core/utils.py:58:45: E226 missing whitespace around arithmetic operator cowrie/core/utils.py:59:35: E226 missing whitespace around arithmetic operator 5 E226 missing whitespace around arithmetic operator 5 * Enable flake8 E1 and E2 checks in travis Prevent bad code style of fixed flake8 errors again in the code. * Fixing missspelled variable
2018-07-05 18:46:00 +00:00
scripts=[
'bin/fsctl',
'bin/asciinema',
'bin/cowrie',
'bin/createfs',
'bin/playlog'
],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: No Input/Output (Daemon)',
'Framework :: Twisted',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: BSD License',
'Operating System :: MacOS :: MacOS X',
'Operating System :: POSIX :: Linux',
'Operating System :: POSIX',
'Programming Language :: Python',
'Topic :: Security',
],
setup_requires=[
'incremental',
'click'
Fixing flake8 E2 (#796) * flake8 E2 cowrie/insults/insults.py flake8 --count --select=E1,E2 --statistics cowrie/insults/insults.py cowrie/insults/insults.py:51:28: E261 at least two spaces before inline comment cowrie/insults/insults.py:53:28: E261 at least two spaces before inline comment cowrie/insults/insults.py:86:14: E261 at least two spaces before inline comment cowrie/insults/insults.py:86:15: E262 inline comment should start with '# ' cowrie/insults/insults.py:115:13: E265 block comment should start with '# ' cowrie/insults/insults.py:181:47: E226 missing whitespace around arithmetic operator cowrie/insults/insults.py:215:41: E226 missing whitespace around arithmetic operator 2 E226 missing whitespace around arithmetic operator 3 E261 at least two spaces before inline comment 1 E262 inline comment should start with '# ' 1 E265 block comment should start with '# ' 7 * flake8 E2 cowrie/telnet/session.py flake8 --count --select=E1,E2 --statistics cowrie/telnet/session.py cowrie/telnet/session.py:28:11: E261 at least two spaces before inline comment cowrie/telnet/session.py:116:5: E265 block comment should start with '# ' 1 E261 at least two spaces before inline comment 1 E265 block comment should start with '# ' 2 * flake8 E2 cowrie/telnet/transport.py flake8 --count --select=E1,E2 --statistics cowrie/telnet/transport.py cowrie/telnet/transport.py:36:32: E226 missing whitespace around arithmetic operator cowrie/telnet/transport.py:108:9: E265 block comment should start with '# ' cowrie/telnet/transport.py:144:53: E226 missing whitespace around arithmetic operator cowrie/telnet/transport.py:197:13: E265 block comment should start with '# ' cowrie/telnet/transport.py:207:13: E265 block comment should start with '# ' cowrie/telnet/transport.py:208:13: E265 block comment should start with '# ' cowrie/telnet/transport.py:237:30: E226 missing whitespace around arithmetic operator 3 E226 missing whitespace around arithmetic operator 4 E265 block comment should start with '# ' 7 * flake8 E2 cowrie/dblog/xmpp.py lake8 --count --select=E1,E2 --statistics cowrie/dblog/xmpp.py cowrie/dblog/xmpp.py:20:20: E221 multiple spaces before operator cowrie/dblog/xmpp.py:25:18: E221 multiple spaces before operator cowrie/dblog/xmpp.py:26:18: E221 multiple spaces before operator cowrie/dblog/xmpp.py:38:29: E202 whitespace before ')' cowrie/dblog/xmpp.py:44:32: E202 whitespace before ')' cowrie/dblog/xmpp.py:66:15: E221 multiple spaces before operator cowrie/dblog/xmpp.py:67:13: E221 multiple spaces before operator cowrie/dblog/xmpp.py:68:17: E221 multiple spaces before operator cowrie/dblog/xmpp.py:69:12: E221 multiple spaces before operator cowrie/dblog/xmpp.py:81:54: E231 missing whitespace after ',' cowrie/dblog/xmpp.py:81:59: E231 missing whitespace after ',' cowrie/dblog/xmpp.py:81:66: E231 missing whitespace after ',' cowrie/dblog/xmpp.py:88:46: E261 at least two spaces before inline comment cowrie/dblog/xmpp.py:103:84: E203 whitespace before ',' cowrie/dblog/xmpp.py:109:33: E231 missing whitespace after ',' cowrie/dblog/xmpp.py:161:21: E221 multiple spaces before operator 2 E202 whitespace before ')' 1 E203 whitespace before ',' 8 E221 multiple spaces before operator 4 E231 missing whitespace after ',' 1 E261 at least two spaces before inline comment 16 * flake8 E2 cowrie/commands/ping.py flake8 --count --select=E1,E2 --statistics cowrie/commands/ping.py cowrie/commands/ping.py:57:21: E225 missing whitespace around operator cowrie/commands/ping.py:64:29: E226 missing whitespace around arithmetic operator 1 E225 missing whitespace around operator 1 E226 missing whitespace around arithmetic operator 2 * flake8 E2 cowrie/commands/base.py flake8 --count --select=E1,E2 --statistics cowrie/commands/base.py ./cowrie/commands/base.py:29:47: E226 missing whitespace around arithmetic operator ./cowrie/commands/base.py:115:45: E231 missing whitespace after ',' ./cowrie/commands/base.py:246:46: E226 missing whitespace around arithmetic operator ./cowrie/commands/base.py:313:25: E226 missing whitespace around arithmetic operator ./cowrie/commands/base.py:402:29: E226 missing whitespace around arithmetic operator ./cowrie/commands/base.py:495:61: E226 missing whitespace around arithmetic operator ./cowrie/commands/base.py:511:43: E226 missing whitespace around arithmetic operator ./cowrie/commands/base.py:596:29: E226 missing whitespace around arithmetic operator ./cowrie/commands/base.py:640:29: E226 missing whitespace around arithmetic operator 8 E226 missing whitespace around arithmetic operator 1 E231 missing whitespace after ',' 9 * flake8 E2 setup.py flake8 --count --select=E1,E2 --statistics setup.py ./setup.py:5:6: E211 whitespace before '(' ./setup.py:6:9: E251 unexpected spaces around keyword / parameter equals ./setup.py:6:9: E221 multiple spaces before operator ./setup.py:6:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:7:12: E251 unexpected spaces around keyword / parameter equals ./setup.py:7:12: E221 multiple spaces before operator ./setup.py:7:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:8:16: E251 unexpected spaces around keyword / parameter equals ./setup.py:8:16: E221 multiple spaces before operator ./setup.py:8:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:9:15: E251 unexpected spaces around keyword / parameter equals ./setup.py:9:15: E221 multiple spaces before operator ./setup.py:9:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:10:21: E251 unexpected spaces around keyword / parameter equals ./setup.py:10:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:11:13: E251 unexpected spaces around keyword / parameter equals ./setup.py:11:13: E221 multiple spaces before operator ./setup.py:11:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:12:8: E251 unexpected spaces around keyword / parameter equals ./setup.py:12:8: E221 multiple spaces before operator ./setup.py:12:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:13:13: E251 unexpected spaces around keyword / parameter equals ./setup.py:13:13: E221 multiple spaces before operator ./setup.py:13:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:15:17: E251 unexpected spaces around keyword / parameter equals ./setup.py:15:17: E221 multiple spaces before operator ./setup.py:15:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:15:25: E201 whitespace after '{' ./setup.py:15:38: E202 whitespace before '}' ./setup.py:16:12: E251 unexpected spaces around keyword / parameter equals ./setup.py:16:12: E221 multiple spaces before operator ./setup.py:16:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:21:21: E251 unexpected spaces around keyword / parameter equals ./setup.py:21:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:35:17: E251 unexpected spaces around keyword / parameter equals ./setup.py:35:17: E221 multiple spaces before operator ./setup.py:35:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:38:19: E251 unexpected spaces around keyword / parameter equals ./setup.py:38:19: E221 multiple spaces before operator ./setup.py:38:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:38:25: E201 whitespace after '{' 1 E127 continuation line over-indented for visual indent 1 E201 whitespace after '{' 1 E202 whitespace before '}' 1 E211 whitespace before '(' 26 E251 unexpected spaces around keyword / parameter equals 30 * flake8 E2 cowrie/shell/protocol.py flake8 --count --select=E1,E2 --statistics cowrie/shell/protocol.py cowrie/shell/protocol.py:63:119: E231 missing whitespace after ',' cowrie/shell/protocol.py:63:129: E231 missing whitespace after ',' cowrie/shell/protocol.py:139:29: E261 at least two spaces before inline comment cowrie/shell/protocol.py:146:9: E265 block comment should start with '# ' cowrie/shell/protocol.py:231:9: E265 block comment should start with '# ' cowrie/shell/protocol.py:309:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:309:43: E261 at least two spaces before inline comment cowrie/shell/protocol.py:310:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:310:43: E261 at least two spaces before inline comment cowrie/shell/protocol.py:311:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:311:45: E261 at least two spaces before inline comment cowrie/shell/protocol.py:312:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:312:45: E261 at least two spaces before inline comment cowrie/shell/protocol.py:313:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:313:42: E261 at least two spaces before inline comment cowrie/shell/protocol.py:314:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:314:44: E261 at least two spaces before inline comment cowrie/shell/protocol.py:315:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:315:48: E261 at least two spaces before inline comment cowrie/shell/protocol.py:316:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:317:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:317:45: E261 at least two spaces before inline comment cowrie/shell/protocol.py:318:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:318:45: E261 at least two spaces before inline comment cowrie/shell/protocol.py:319:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:319:43: E261 at least two spaces before inline comment cowrie/shell/protocol.py:320:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:320:41: E261 at least two spaces before inline comment cowrie/shell/protocol.py:321:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:321:45: E261 at least two spaces before inline comment cowrie/shell/protocol.py:322:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:322:45: E261 at least two spaces before inline comment cowrie/shell/protocol.py:323:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:323:42: E261 at least two spaces before inline comment cowrie/shell/protocol.py:331:67: E226 missing whitespace around arithmetic operator cowrie/shell/protocol.py:375:70: E226 missing whitespace around arithmetic operator 2 E226 missing whitespace around arithmetic operator 2 E231 missing whitespace after ',' 15 E241 multiple spaces after ':' 15 E261 at least two spaces before inline comment 2 E265 block comment should start with '# ' 36 * flake8 E2 cowrie/commands/scp.py flake8 --count --select=E1,E2 --statistics cowrie/commands/scp.py cowrie/commands/scp.py:235:48: E226 missing whitespace around arithmetic operator 1 E226 missing whitespace around arithmetic operator 1 * flake8 E2 cowrie/commands/ifconfig.py flake8 --count --select=E1,E2 --statistics cowrie/commands/ifconfig.py cowrie/commands/ifconfig.py:34:21: E226 missing whitespace around arithmetic operator 1 E226 missing whitespace around arithmetic operator 1 * flake8 E2 cowrie/commands/ssh.py flake8 --count --select=E1,E2 --statistics cowrie/commands/ssh.py cowrie/commands/ssh.py:58:29: E226 missing whitespace around arithmetic operator 1 E226 missing whitespace around arithmetic operator 1 * flake8 E2 cowrie/commands/iptables.py flake8 --count --select=E1,E2 --statistics cowrie/commands/iptables.py cowrie/commands/iptables.py:69:28: E231 missing whitespace after ',' cowrie/commands/iptables.py:69:36: E231 missing whitespace after ',' cowrie/commands/iptables.py:69:42: E231 missing whitespace after ',' cowrie/commands/iptables.py:71:24: E225 missing whitespace around operator cowrie/commands/iptables.py:74:24: E225 missing whitespace around operator cowrie/commands/iptables.py:75:38: E231 missing whitespace after ',' cowrie/commands/iptables.py:75:50: E231 missing whitespace after ',' cowrie/commands/iptables.py:320:41: E226 missing whitespace around arithmetic operator cowrie/commands/iptables.py:359:43: E226 missing whitespace around arithmetic operator 2 E225 missing whitespace around operator 2 E226 missing whitespace around arithmetic operator 5 E231 missing whitespace after ',' 9 * flake8 E2 cowrie/commands/python.py flake8 --count --select=E1,E2 --statistics cowrie/commands/python.py cowrie/commands/python.py:83:45: E222 multiple spaces after operator 1 E222 multiple spaces after operator 1 * flake8 E2 cowrie/commands/apt.py flake8 --count --select=E1,E2 --statistics cowrie/commands/apt.py cowrie/commands/apt.py:42:32: E251 unexpected spaces around keyword / parameter equals cowrie/commands/apt.py:42:34: E251 unexpected spaces around keyword / parameter equals cowrie/commands/apt.py:113:24: E231 missing whitespace after ',' cowrie/commands/apt.py:115:112: E231 missing whitespace after ',' cowrie/commands/apt.py:122:27: E241 multiple spaces after ':' cowrie/commands/apt.py:126:24: E241 multiple spaces after ':' 2 E231 missing whitespace after ',' 2 E241 multiple spaces after ':' 2 E251 unexpected spaces around keyword / parameter equals 6 * flake8 E2 cowrie/commands/fs.py flake8 --count --select=E1,E2 --statistics cowrie/commands/fs.py cowrie/commands/fs.py:36:35: E231 missing whitespace after ',' cowrie/commands/fs.py:45:20: E201 whitespace after '(' cowrie/commands/fs.py:46:20: E201 whitespace after '(' cowrie/commands/fs.py:47:20: E201 whitespace after '(' cowrie/commands/fs.py:48:20: E201 whitespace after '(' 4 E201 whitespace after '(' 1 E231 missing whitespace after ',' 5 * flake8 E2 cowrie/commands/gcc.py flake8 --count --select=E1,E2 --statistics cowrie/commands/gcc.py cowrie/commands/gcc.py:21:13: E221 multiple spaces before operator cowrie/commands/gcc.py:166:24: E226 missing whitespace around arithmetic operator 1 E221 multiple spaces before operator 1 E226 missing whitespace around arithmetic operator 2 * flake8 E2 cowrie/commands/last.py flake8 --count --select=E1,E2 --statistics cowrie/commands/last.py cowrie/commands/last.py:30:48: E231 missing whitespace after ',' cowrie/commands/last.py:36:81: E226 missing whitespace around arithmetic operator cowrie/commands/last.py:36:93: E226 missing whitespace around arithmetic operator cowrie/commands/last.py:36:102: E202 whitespace before ')' cowrie/commands/last.py:36:105: E202 whitespace before ')' 2 E202 whitespace before ')' 2 E226 missing whitespace around arithmetic operator 1 E231 missing whitespace after ',' 5 * flake8 E2 cowrie/commands/busybox.py flake8 --count --select=E1,E2 --statistics cowrie/commands/busybox.py cowrie/commands/busybox.py:6:50: E231 missing whitespace after ',' cowrie/commands/busybox.py:11:13: E225 missing whitespace around operator cowrie/commands/busybox.py:62:31: E226 missing whitespace around arithmetic operator 1 E225 missing whitespace around operator 1 E226 missing whitespace around arithmetic operator 1 E231 missing whitespace after ',' 3 * flake8 E2 cowrie/commands/netstat.py flake8 --count --select=E1,E2 --statistics cowrie/commands/netstat.py cowrie/commands/netstat.py:75:22: E226 missing whitespace around arithmetic operator cowrie/commands/netstat.py:76:22: E226 missing whitespace around arithmetic operator cowrie/commands/netstat.py:97:37: E226 missing whitespace around arithmetic operator cowrie/commands/netstat.py:97:41: E226 missing whitespace around arithmetic operator cowrie/commands/netstat.py:97:52: E226 missing whitespace around arithmetic operator cowrie/commands/netstat.py:97:60: E226 missing whitespace around arithmetic operator cowrie/commands/netstat.py:98:37: E226 missing whitespace around arithmetic operator cowrie/commands/netstat.py:98:41: E226 missing whitespace around arithmetic operator cowrie/commands/netstat.py:98:52: E226 missing whitespace around arithmetic operator cowrie/commands/netstat.py:98:60: E226 missing whitespace around arithmetic operator cowrie/commands/netstat.py:100:25: E226 missing whitespace around arithmetic operator 11 E226 missing whitespace around arithmetic operator 11 * flake8 E2 cowrie/commands/free.py flake8 --count --select=E1,E2 --statistics cowrie/commands/free.py cowrie/commands/free.py:16:11: E225 missing whitespace around operator cowrie/commands/free.py:21:10: E225 missing whitespace around operator cowrie/commands/free.py:26:11: E225 missing whitespace around operator cowrie/commands/free.py:60:15: E225 missing whitespace around operator cowrie/commands/free.py:61:34: E226 missing whitespace around arithmetic operator cowrie/commands/free.py:62:17: E225 missing whitespace around operator cowrie/commands/free.py:63:33: E226 missing whitespace around arithmetic operator cowrie/commands/free.py:64:17: E225 missing whitespace around operator cowrie/commands/free.py:65:34: E226 missing whitespace around arithmetic operator 6 E225 missing whitespace around operator 3 E226 missing whitespace around arithmetic operator 9 * flake8 E2 cowrie/commands/ls.py flake8 --count --select=E1,E2 --statistics cowrie/commands/ls.py cowrie/commands/ls.py:189:25: E226 missing whitespace around arithmetic operator 1 E226 missing whitespace around arithmetic operator 1 * flake8 E2 cowrie/commands/cat.py flake8 --count --select=E1,E2 --statistics cowrie/commands/cat.py cowrie/commands/cat.py:79:28: E226 missing whitespace around arithmetic operator 1 E226 missing whitespace around arithmetic operator 1 * flake8 E2 cowrie/commands/tar.py flake8 --count --select=E1,E2 --statistics cowrie/commands/tar.py cowrie/commands/tar.py:75:34: E226 missing whitespace around arithmetic operator 1 E226 missing whitespace around arithmetic operator 1 * flake8 E2 cowrie/commands/sudo.py flake8 --count --select=E1,E2 --statistics cowrie/commands/sudo.py cowrie/commands/sudo.py:9:50: E231 missing whitespace after ',' cowrie/commands/sudo.py:13:15: E225 missing whitespace around operator cowrie/commands/sudo.py:22:14: E225 missing whitespace around operator cowrie/commands/sudo.py:66:31: E226 missing whitespace around arithmetic operator cowrie/commands/sudo.py:74:31: E226 missing whitespace around arithmetic operator cowrie/commands/sudo.py:95:29: E231 missing whitespace after ',' cowrie/commands/sudo.py:96:26: E222 multiple spaces after operator cowrie/commands/sudo.py:101:45: E231 missing whitespace after ',' cowrie/commands/sudo.py:125:17: E265 block comment should start with '# ' cowrie/commands/sudo.py:128:70: E231 missing whitespace after ',' cowrie/commands/sudo.py:128:79: E231 missing whitespace after ',' cowrie/commands/sudo.py:128:106: E203 whitespace before ',' cowrie/commands/sudo.py:128:107: E231 missing whitespace after ',' 1 E203 whitespace before ',' 1 E222 multiple spaces after operator 2 E225 missing whitespace around operator 2 E226 missing whitespace around arithmetic operator 6 E231 missing whitespace after ',' 1 E265 block comment should start with '# ' 13 * flake8 E2 cowrie/commands/env.py flake8 --count --select=E1,E2 --statistics cowrie/commands/env.py cowrie/commands/env.py:41:39: E231 missing whitespace after ',' 1 E231 missing whitespace after ',' 1 * flake8 E2 cowrie/commands/curl.py flake8 --count --select=E1,E2 --statistics cowrie/commands/curl.py cowrie/commands/curl.py:85:12: E225 missing whitespace around operator cowrie/commands/curl.py:294:14: E261 at least two spaces before inline comment cowrie/commands/curl.py:349:46: E261 at least two spaces before inline comment cowrie/commands/curl.py:351:25: E226 missing whitespace around arithmetic operator cowrie/commands/curl.py:383:30: E261 at least two spaces before inline comment cowrie/commands/curl.py:437:46: E226 missing whitespace around arithmetic operator cowrie/commands/curl.py:437:64: E226 missing whitespace around arithmetic operator cowrie/commands/curl.py:440:55: E226 missing whitespace around arithmetic operator cowrie/commands/curl.py:464:41: E226 missing whitespace around arithmetic operator 1 E225 missing whitespace around operator 5 E226 missing whitespace around arithmetic operator 3 E261 at least two spaces before inline comment 9 * flake8 E2 cowrie/ssh/factory.py flake8 --count --select=E1,E2 --statistics cowrie/ssh/factory.py cowrie/ssh/factory.py:39:15: E261 at least two spaces before inline comment cowrie/ssh/factory.py:45:32: E226 missing whitespace around arithmetic operator 1 E226 missing whitespace around arithmetic operator 1 E261 at least two spaces before inline comment 2 * flake8 E2 cowrie/ssh/session.py flake8 --count --select=E1,E2 --statistics cowrie/ssh/session.py cowrie/ssh/session.py:22:9: E265 block comment should start with '# ' 1 E265 block comment should start with '# ' 1 * flake8 E2 cowrie/ssh/channel.py flake8 --count --select=E1,E2 --statistics cowrie/ssh/channel.py cowrie/ssh/channel.py:81:40: E226 missing whitespace around arithmetic operator cowrie/ssh/channel.py:82:37: E226 missing whitespace around arithmetic operator 2 E226 missing whitespace around arithmetic operator 2 * flake8 E2 cowrie/ssh/userauth.py flake8 --count --select=E1,E2 --statistics cowrie/ssh/userauth.py cowrie/ssh/userauth.py:133:26: E261 at least two spaces before inline comment cowrie/ssh/userauth.py:135:28: E261 at least two spaces before inline comment 2 E261 at least two spaces before inline comment 2 * flake8 E2 cowrie/ssh/transport.py flake8 --count --select=E1,E2 --statistics cowrie/ssh/transport.py cowrie/ssh/transport.py:59:56: E226 missing whitespace around arithmetic operator cowrie/ssh/transport.py:61:33: E226 missing whitespace around arithmetic operator cowrie/ssh/transport.py:61:55: E226 missing whitespace around arithmetic operator cowrie/ssh/transport.py:96:13: E265 block comment should start with '# ' cowrie/ssh/transport.py:107:38: E226 missing whitespace around arithmetic operator 4 E226 missing whitespace around arithmetic operator 1 E265 block comment should start with '# ' 5 * flake8 E2 cowrie/output/mysql.py flake8 --count --select=E1,E2 --statistics cowrie/output/mysql.py cowrie/output/mysql.py:37:72: E225 missing whitespace around operator cowrie/output/mysql.py:74:21: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:74:23: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:75:19: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:75:21: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:76:21: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:76:23: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:77:23: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:77:25: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:78:21: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:78:23: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:79:23: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:79:25: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:80:23: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:80:25: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:128:18: E222 multiple spaces after operator 1 E222 multiple spaces after operator 1 E225 missing whitespace around operator 14 E251 unexpected spaces around keyword / parameter equals 16 * flake8 E2 cowrie/output/hpfeeds3.py flake8 --count --select=E1,E2 --statistics cowrie/output/hpfeeds3.py cowrie/output/hpfeeds3.py:68:26: E231 missing whitespace after ':' cowrie/output/hpfeeds3.py:70:26: E231 missing whitespace after ':' cowrie/output/hpfeeds3.py:76:30: E231 missing whitespace after ':' cowrie/output/hpfeeds3.py:77:27: E231 missing whitespace after ':' cowrie/output/hpfeeds3.py:78:34: E231 missing whitespace after ':' cowrie/output/hpfeeds3.py:79:23: E231 missing whitespace after ':' 6 E231 missing whitespace after ':' 6 * flake8 E2 cowrie/output/textlog.py flake8 --count --select=E1,E2 --statistics cowrie/output/textlog.py cowrie/output/textlog.py:63:53: E226 missing whitespace around arithmetic operator cowrie/output/textlog.py:64:67: E226 missing whitespace around arithmetic operator cowrie/output/textlog.py:66:53: E226 missing whitespace around arithmetic operator cowrie/output/textlog.py:67:51: E226 missing whitespace around arithmetic operator 4 E226 missing whitespace around arithmetic operator 4 * flake8 E2 cowrie/output/sqlite.py flake8 --count --select=E1,E2 --statistics cowrie/output/sqlite.py cowrie/output/sqlite.py:36:25: E251 unexpected spaces around keyword / parameter equals cowrie/output/sqlite.py:36:27: E251 unexpected spaces around keyword / parameter equals cowrie/output/sqlite.py:86:18: E222 multiple spaces after operator 1 E222 multiple spaces after operator 2 E251 unexpected spaces around keyword / parameter equals 3 * flake8 E2 cowrie/output/hpfeeds.py flake8 --count --select=E1,E2 --statistics cowrie/output/hpfeeds.py cowrie/output/hpfeeds.py:33:9: E221 multiple spaces before operator cowrie/output/hpfeeds.py:34:8: E221 multiple spaces before operator cowrie/output/hpfeeds.py:35:8: E221 multiple spaces before operator cowrie/output/hpfeeds.py:36:11: E221 multiple spaces before operator cowrie/output/hpfeeds.py:37:13: E221 multiple spaces before operator cowrie/output/hpfeeds.py:41:16: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:42:15: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:42:19: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:43:15: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:43:19: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:44:18: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:45:20: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:45:24: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:73:17: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:73:25: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:78:32: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:94:36: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:127:48: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:248:37: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:248:48: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:300:26: E231 missing whitespace after ':' cowrie/output/hpfeeds.py:302:26: E231 missing whitespace after ':' cowrie/output/hpfeeds.py:308:30: E231 missing whitespace after ':' cowrie/output/hpfeeds.py:309:27: E231 missing whitespace after ':' cowrie/output/hpfeeds.py:310:34: E231 missing whitespace after ':' cowrie/output/hpfeeds.py:311:23: E231 missing whitespace after ':' 5 E221 multiple spaces before operator 15 E226 missing whitespace around arithmetic operator 6 E231 missing whitespace after ':' 26 * flake8 E2 cowrie/output/influx.py flake8 --count --select=E1,E2 --statistics cowrie/output/influx.py cowrie/output/influx.py:109:47: E231 missing whitespace after ',' 1 E231 missing whitespace after ',' 1 * flake8 E2 cowrie/output/virustotal.py flake8 --count --select=E1,E2 --statistics cowrie/output/virustotal.py cowrie/output/virustotal.py:93:13: E265 block comment should start with '# ' cowrie/output/virustotal.py:94:13: E265 block comment should start with '# ' cowrie/output/virustotal.py:95:13: E265 block comment should start with '# ' cowrie/output/virustotal.py:104:13: E265 block comment should start with '# ' cowrie/output/virustotal.py:105:13: E265 block comment should start with '# ' cowrie/output/virustotal.py:113:26: E226 missing whitespace around arithmetic operator cowrie/output/virustotal.py:126:17: E265 block comment should start with '# ' cowrie/output/virustotal.py:180:17: E265 block comment should start with '# ' cowrie/output/virustotal.py:193:26: E226 missing whitespace around arithmetic operator cowrie/output/virustotal.py:197:41: E226 missing whitespace around arithmetic operator cowrie/output/virustotal.py:261:26: E226 missing whitespace around arithmetic operator cowrie/output/virustotal.py:274:17: E265 block comment should start with '# ' cowrie/output/virustotal.py:329:26: E226 missing whitespace around arithmetic operator cowrie/output/virustotal.py:330:23: E201 whitespace after '{' 1 E201 whitespace after '{' 5 E226 missing whitespace around arithmetic operator 8 E265 block comment should start with '# ' 14 * flake8 E2 cowrie/output/jsonlog.py flake8 --count --select=E1,E2 --statistics cowrie/output/jsonlog.py cowrie/output/jsonlog.py:73:59: E225 missing whitespace around operator 1 E225 missing whitespace around operator 1 * flake8 E2 cowrie/output/dshield.py flake8 --count --select=E1,E2 --statistics cowrie/output/dshield.py cowrie/output/dshield.py:39:24: E261 at least two spaces before inline comment cowrie/output/dshield.py:50:23: E203 whitespace before ':' cowrie/output/dshield.py:51:23: E203 whitespace before ':' cowrie/output/dshield.py:52:27: E203 whitespace before ':' cowrie/output/dshield.py:53:28: E203 whitespace before ':' cowrie/output/dshield.py:54:23: E203 whitespace before ':' cowrie/output/dshield.py:55:27: E203 whitespace before ':' cowrie/output/dshield.py:102:27: E231 missing whitespace after ':' cowrie/output/dshield.py:104:9: E265 block comment should start with '# ' cowrie/output/dshield.py:111:19: E251 unexpected spaces around keyword / parameter equals cowrie/output/dshield.py:112:16: E251 unexpected spaces around keyword / parameter equals cowrie/output/dshield.py:112:18: E251 unexpected spaces around keyword / parameter equals cowrie/output/dshield.py:113:20: E251 unexpected spaces around keyword / parameter equals cowrie/output/dshield.py:113:22: E251 unexpected spaces around keyword / parameter equals cowrie/output/dshield.py:114:20: E251 unexpected spaces around keyword / parameter equals cowrie/output/dshield.py:114:22: E251 unexpected spaces around keyword / parameter equals cowrie/output/dshield.py:115:17: E251 unexpected spaces around keyword / parameter equals cowrie/output/dshield.py:115:19: E251 unexpected spaces around keyword / parameter equals cowrie/output/dshield.py:132:57: E226 missing whitespace around arithmetic operator 6 E203 whitespace before ':' 1 E226 missing whitespace around arithmetic operator 1 E231 missing whitespace after ':' 9 E251 unexpected spaces around keyword / parameter equals 1 E261 at least two spaces before inline comment 1 E265 block comment should start with '# ' 19 * flake8 E2 cowrie/output/elasticsearch.py flake8 --count --select=E1,E2 --statistics cowrie/output/elasticsearch.py cowrie/output/elasticsearch.py:22:21: E225 missing whitespace around operator 1 E225 missing whitespace around operator 1flake8 E2 cowrie/output/elasticsearch.py flake8 --count --select=E1,E2 --statistics cowrie/output/elasticsearch.py cowrie/output/elasticsearch.py:22:21: E225 missing whitespace around operator 1 E225 missing whitespace around operator 1flake8 E2 cowrie/output/elasticsearch.py flake8 --count --select=E1,E2 --statistics cowrie/output/elasticsearch.py cowrie/output/elasticsearch.py:22:21: E225 missing whitespace around operator 1 E225 missing whitespace around operator 1flake8 E2 cowrie/output/elasticsearch.py flake8 --count --select=E1,E2 --statistics cowrie/output/elasticsearch.py cowrie/output/elasticsearch.py:22:21: E225 missing whitespace around operator 1 E225 missing whitespace around operator 1flake8 E2 cowrie/output/elasticsearch.py flake8 --count --select=E1,E2 --statistics cowrie/output/elasticsearch.py cowrie/output/elasticsearch.py:22:21: E225 missing whitespace around operator 1 E225 missing whitespace around operator 1flake8 E2 cowrie/output/elasticsearch.py flake8 --count --select=E1,E2 --statistics cowrie/output/elasticsearch.py cowrie/output/elasticsearch.py:22:21: E225 missing whitespace around operator 1 E225 missing whitespace around operator 1flake8 E2 cowrie/output/elasticsearch.py flake8 --count --select=E1,E2 --statistics cowrie/output/elasticsearch.py cowrie/output/elasticsearch.py:22:21: E225 missing whitespace around operator 1 E225 missing whitespace around operator 1flake8 E2 cowrie/output/elasticsearch.py flake8 --count --select=E1,E2 --statistics cowrie/output/elasticsearch.py cowrie/output/elasticsearch.py:22:21: E225 missing whitespace around operator 1 E225 missing whitespace around operator 1 * flake8 E2 cowrie/output/xmpp.py flake8 --count --select=E1,E2 --statistics cowrie/output/xmpp.py cowrie/output/xmpp.py:19:20: E221 multiple spaces before operator cowrie/output/xmpp.py:24:18: E221 multiple spaces before operator cowrie/output/xmpp.py:25:18: E221 multiple spaces before operator cowrie/output/xmpp.py:71:15: E221 multiple spaces before operator cowrie/output/xmpp.py:72:13: E221 multiple spaces before operator cowrie/output/xmpp.py:72:21: E222 multiple spaces after operator cowrie/output/xmpp.py:73:17: E221 multiple spaces before operator cowrie/output/xmpp.py:74:12: E221 multiple spaces before operator cowrie/output/xmpp.py:79:44: E231 missing whitespace after ',' cowrie/output/xmpp.py:79:53: E231 missing whitespace after ',' cowrie/output/xmpp.py:79:58: E231 missing whitespace after ',' cowrie/output/xmpp.py:79:65: E231 missing whitespace after ',' cowrie/output/xmpp.py:86:46: E261 at least two spaces before inline comment cowrie/output/xmpp.py:102:38: E231 missing whitespace after ',' 7 E221 multiple spaces before operator 1 E222 multiple spaces after operator 5 E231 missing whitespace after ',' 1 E261 at least two spaces before inline comment 14 * flake8 E2 cowrie/shell/honeypot.py flake8 --count --select=E1,E2 --statistics cowrie/shell/honeypot.py cowrie/shell/honeypot.py:210:9: E265 block comment should start with '# ' cowrie/shell/honeypot.py:347:32: E226 missing whitespace around arithmetic operator cowrie/shell/honeypot.py:365:43: E226 missing whitespace around arithmetic operator cowrie/shell/honeypot.py:366:29: E222 multiple spaces after operator cowrie/shell/honeypot.py:397:33: E226 missing whitespace around arithmetic operator cowrie/shell/honeypot.py:398:30: E226 missing whitespace around arithmetic operator cowrie/shell/honeypot.py:402:9: E265 block comment should start with '# ' cowrie/shell/honeypot.py:403:9: E265 block comment should start with '# ' cowrie/shell/honeypot.py:408:45: E226 missing whitespace around arithmetic operator cowrie/shell/honeypot.py:408:49: E226 missing whitespace around arithmetic operator cowrie/shell/honeypot.py:408:72: E226 missing whitespace around arithmetic operator cowrie/shell/honeypot.py:408:76: E226 missing whitespace around arithmetic operator cowrie/shell/honeypot.py:414:35: E203 whitespace before ',' cowrie/shell/honeypot.py:440:19: E222 multiple spaces after operator 1 E203 whitespace before ',' 2 E222 multiple spaces after operator 8 E226 missing whitespace around arithmetic operator 3 E265 block comment should start with '# ' 14 * flake8 E2 cowrie/shell/fs.py flake8 --count --select=E1,E2 --statistics cowrie/shell/fs.py cowrie/shell/fs.py:229:63: E225 missing whitespace around operator cowrie/shell/fs.py:377:13: E265 block comment should start with '# ' cowrie/shell/fs.py:416:13: E265 block comment should start with '# ' cowrie/shell/fs.py:457:36: E225 missing whitespace around operator cowrie/shell/fs.py:558:23: E231 missing whitespace after ':' cowrie/shell/fs.py:559:22: E231 missing whitespace after ':' cowrie/shell/fs.py:560:22: E231 missing whitespace after ':' cowrie/shell/fs.py:561:23: E231 missing whitespace after ':' cowrie/shell/fs.py:562:23: E231 missing whitespace after ':' cowrie/shell/fs.py:563:24: E231 missing whitespace after ':' 2 E225 missing whitespace around operator 6 E231 missing whitespace after ':' 2 E265 block comment should start with '# ' 10 * flake8 E2 cowrie/shell/shlex.py flake8 --count --select=E1,E2 --statistics cowrie/shell/shlex.py cowrie/shell/shlex.py:70:13: E265 block comment should start with '# ' cowrie/shell/shlex.py:321:1: E265 block comment should start with '# ' 2 E265 block comment should start with '# ' 2 * flake8 E2 cowrie/shell/filetransfer.py flake8 --count --select=E1,E2 --statistics cowrie/shell/filetransfer.py cowrie/shell/filetransfer.py:83:43: E226 missing whitespace around arithmetic operator cowrie/shell/filetransfer.py:116:33: E226 missing whitespace around arithmetic operator cowrie/shell/filetransfer.py:309:9: E265 block comment should start with '# ' 2 E226 missing whitespace around arithmetic operator 1 E265 block comment should start with '# ' 3 * flake8 E2 cowrie/shell/session.py flake8 --count --select=E1,E2 --statistics cowrie/shell/session.py cowrie/shell/session.py:47:20: E225 missing whitespace around operator cowrie/shell/session.py:48:33: E225 missing whitespace around operator cowrie/shell/session.py:50:33: E225 missing whitespace around operator 3 E225 missing whitespace around operator 3 * flake8 E2 cowrie/shell/customparser.py flake8 --count --select=E1,E2 --statistics cowrie/shell/customparser.py cowrie/shell/customparser.py:56:27: E231 missing whitespace after ',' 1 E231 missing whitespace after ',' 1 * flake8 E2 cowrie/test/test_base_commands.py flake8 --count --select=E1,E2 --statistics cowrie/test/test_base_commands.py cowrie/test/test_base_commands.py:24:58: E211 whitespace before '(' cowrie/test/test_base_commands.py:33:41: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:38:41: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:43:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:47:49: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:52:49: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:57:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:74:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:83:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:87:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:94:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:114:49: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:123:49: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:134:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:139:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:144:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:149:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:154:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:159:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:164:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:169:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:174:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:179:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:184:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:189:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:193:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:198:42: E231 missing whitespace after ',' 1 E211 whitespace before '(' 26 E231 missing whitespace after ',' 27 * flake8 E2 cowrie/test/fake_transport.py flake8 --count --select=E1,E2 --statistics cowrie/test/fake_transport.py cowrie/test/fake_transport.py:8:42: E231 missing whitespace after ',' 1 E231 missing whitespace after ',' 1 * flake8 E2 cowrie/proxy/endpoints.py flake8 --count --select=E1,E2 --statistics cowrie/proxy/endpoints.py cowrie/proxy/endpoints.py:214:29: E226 missing whitespace around arithmetic operator cowrie/proxy/endpoints.py:233:42: E226 missing whitespace around arithmetic operator cowrie/proxy/endpoints.py:323:22: E231 missing whitespace after ',' cowrie/proxy/endpoints.py:323:25: E231 missing whitespace after ',' cowrie/proxy/endpoints.py:323:27: E231 missing whitespace after ',' cowrie/proxy/endpoints.py:323:30: E261 at least two spaces before inline comment cowrie/proxy/endpoints.py:346:55: E226 missing whitespace around arithmetic operator cowrie/proxy/endpoints.py:380:48: E226 missing whitespace around arithmetic operator cowrie/proxy/endpoints.py:824:24: E222 multiple spaces after operator cowrie/proxy/endpoints.py:992:24: E222 multiple spaces after operator 2 E222 multiple spaces after operator 4 E226 missing whitespace around arithmetic operator 3 E231 missing whitespace after ',' 1 E261 at least two spaces before inline comment 10 * flake8 E2 cowrie/proxy/avatar.py flake8 --count --select=E1,E2 --statistics cowrie/proxy/avatar.py cowrie/proxy/avatar.py:14:1: E265 block comment should start with '# ' cowrie/proxy/avatar.py:38:9: E265 block comment should start with '# ' cowrie/proxy/avatar.py:41:9: E265 block comment should start with '# ' cowrie/proxy/avatar.py:59:1: E265 block comment should start with '# ' 4 E265 block comment should start with '# ' 4 * Add TODO for checking SFTP support I removed code which was never used in this version of cowrie. But for me it looks like there is no SFTP support anymore? Look the previous commit message for more details. * flake8 E2 cowrie/proxy/session.py flake8 --count --select=E1,E2 --statistics cowrie/proxy/session.py cowrie/proxy/session.py:15:1: E265 block comment should start with '# ' cowrie/proxy/session.py:60:21: E261 at least two spaces before inline comment cowrie/proxy/session.py:61:18: E261 at least two spaces before inline comment cowrie/proxy/session.py:62:14: E261 at least two spaces before inline comment cowrie/proxy/session.py:71:13: E265 block comment should start with '# ' cowrie/proxy/session.py:83:30: E226 missing whitespace around arithmetic operator cowrie/proxy/session.py:83:42: E226 missing whitespace around arithmetic operator cowrie/proxy/session.py:83:59: E226 missing whitespace around arithmetic operator cowrie/proxy/session.py:91:37: E226 missing whitespace around arithmetic operator cowrie/proxy/session.py:146:9: E265 block comment should start with '# ' cowrie/proxy/session.py:168:32: E226 missing whitespace around arithmetic operator cowrie/proxy/session.py:169:26: E226 missing whitespace around arithmetic operator cowrie/proxy/session.py:170:26: E226 missing whitespace around arithmetic operator cowrie/proxy/session.py:171:26: E226 missing whitespace around arithmetic operator cowrie/proxy/session.py:185:28: E226 missing whitespace around arithmetic operator cowrie/proxy/session.py:189:23: E226 missing whitespace around arithmetic operator cowrie/proxy/session.py:250:9: E265 block comment should start with '# ' cowrie/proxy/session.py:322:13: E265 block comment should start with '# ' 10 E226 missing whitespace around arithmetic operator 3 E261 at least two spaces before inline comment 5 E265 block comment should start with '# ' 18 * flake8 E2 cowire/core/dblog.py flake8 --count --select=E1,E2 --statistics cowrie/core/dblog.py cowrie/core/dblog.py:27:9: E265 block comment should start with '# ' 1 E265 block comment should start with '# ' 1 * flake8 E2 cowrie/core/output.py flake8 --count --select=E1,E2 --statistics cowrie/core/output.py cowrie/core/output.py:172:9: E265 block comment should start with '# ' cowrie/core/output.py:174:13: E265 block comment should start with '# ' cowrie/core/output.py:175:13: E265 block comment should start with '# ' cowrie/core/output.py:176:13: E265 block comment should start with '# ' cowrie/core/output.py:177:13: E265 block comment should start with '# ' cowrie/core/output.py:188:32: E226 missing whitespace around arithmetic operator cowrie/core/output.py:192:36: E226 missing whitespace around arithmetic operator 2 E226 missing whitespace around arithmetic operator 5 E265 block comment should start with '# ' 7 * flake8 E2 cowrie/core/realm.py flake8 --count --select=E1,E2 --statistics cowrie/core/realm.py cowrie/core/realm.py:72:9: E265 block comment should start with '# ' 1 E265 block comment should start with '# ' 1 * flake8 E2 cowrie/core/utils.py flake8 --count --select=E1,E2 --statistics cowrie/core/utils.py cowrie/core/utils.py:35:55: E226 missing whitespace around arithmetic operator cowrie/core/utils.py:38:56: E226 missing whitespace around arithmetic operator cowrie/core/utils.py:57:22: E226 missing whitespace around arithmetic operator cowrie/core/utils.py:58:45: E226 missing whitespace around arithmetic operator cowrie/core/utils.py:59:35: E226 missing whitespace around arithmetic operator 5 E226 missing whitespace around arithmetic operator 5 * Enable flake8 E1 and E2 checks in travis Prevent bad code style of fixed flake8 errors again in the code. * Fixing missspelled variable
2018-07-05 18:46:00 +00:00
],
install_requires=[
'twisted>=17.1.0',
'cryptography>=0.9.1',
'configparser',
'pyopenssl',
'pyparsing',
'incremental',
'packaging',
'appdirs>=1.4.0',
'python-dateutil',
'service_identity>=14.0.0'
Fixing flake8 E2 (#796) * flake8 E2 cowrie/insults/insults.py flake8 --count --select=E1,E2 --statistics cowrie/insults/insults.py cowrie/insults/insults.py:51:28: E261 at least two spaces before inline comment cowrie/insults/insults.py:53:28: E261 at least two spaces before inline comment cowrie/insults/insults.py:86:14: E261 at least two spaces before inline comment cowrie/insults/insults.py:86:15: E262 inline comment should start with '# ' cowrie/insults/insults.py:115:13: E265 block comment should start with '# ' cowrie/insults/insults.py:181:47: E226 missing whitespace around arithmetic operator cowrie/insults/insults.py:215:41: E226 missing whitespace around arithmetic operator 2 E226 missing whitespace around arithmetic operator 3 E261 at least two spaces before inline comment 1 E262 inline comment should start with '# ' 1 E265 block comment should start with '# ' 7 * flake8 E2 cowrie/telnet/session.py flake8 --count --select=E1,E2 --statistics cowrie/telnet/session.py cowrie/telnet/session.py:28:11: E261 at least two spaces before inline comment cowrie/telnet/session.py:116:5: E265 block comment should start with '# ' 1 E261 at least two spaces before inline comment 1 E265 block comment should start with '# ' 2 * flake8 E2 cowrie/telnet/transport.py flake8 --count --select=E1,E2 --statistics cowrie/telnet/transport.py cowrie/telnet/transport.py:36:32: E226 missing whitespace around arithmetic operator cowrie/telnet/transport.py:108:9: E265 block comment should start with '# ' cowrie/telnet/transport.py:144:53: E226 missing whitespace around arithmetic operator cowrie/telnet/transport.py:197:13: E265 block comment should start with '# ' cowrie/telnet/transport.py:207:13: E265 block comment should start with '# ' cowrie/telnet/transport.py:208:13: E265 block comment should start with '# ' cowrie/telnet/transport.py:237:30: E226 missing whitespace around arithmetic operator 3 E226 missing whitespace around arithmetic operator 4 E265 block comment should start with '# ' 7 * flake8 E2 cowrie/dblog/xmpp.py lake8 --count --select=E1,E2 --statistics cowrie/dblog/xmpp.py cowrie/dblog/xmpp.py:20:20: E221 multiple spaces before operator cowrie/dblog/xmpp.py:25:18: E221 multiple spaces before operator cowrie/dblog/xmpp.py:26:18: E221 multiple spaces before operator cowrie/dblog/xmpp.py:38:29: E202 whitespace before ')' cowrie/dblog/xmpp.py:44:32: E202 whitespace before ')' cowrie/dblog/xmpp.py:66:15: E221 multiple spaces before operator cowrie/dblog/xmpp.py:67:13: E221 multiple spaces before operator cowrie/dblog/xmpp.py:68:17: E221 multiple spaces before operator cowrie/dblog/xmpp.py:69:12: E221 multiple spaces before operator cowrie/dblog/xmpp.py:81:54: E231 missing whitespace after ',' cowrie/dblog/xmpp.py:81:59: E231 missing whitespace after ',' cowrie/dblog/xmpp.py:81:66: E231 missing whitespace after ',' cowrie/dblog/xmpp.py:88:46: E261 at least two spaces before inline comment cowrie/dblog/xmpp.py:103:84: E203 whitespace before ',' cowrie/dblog/xmpp.py:109:33: E231 missing whitespace after ',' cowrie/dblog/xmpp.py:161:21: E221 multiple spaces before operator 2 E202 whitespace before ')' 1 E203 whitespace before ',' 8 E221 multiple spaces before operator 4 E231 missing whitespace after ',' 1 E261 at least two spaces before inline comment 16 * flake8 E2 cowrie/commands/ping.py flake8 --count --select=E1,E2 --statistics cowrie/commands/ping.py cowrie/commands/ping.py:57:21: E225 missing whitespace around operator cowrie/commands/ping.py:64:29: E226 missing whitespace around arithmetic operator 1 E225 missing whitespace around operator 1 E226 missing whitespace around arithmetic operator 2 * flake8 E2 cowrie/commands/base.py flake8 --count --select=E1,E2 --statistics cowrie/commands/base.py ./cowrie/commands/base.py:29:47: E226 missing whitespace around arithmetic operator ./cowrie/commands/base.py:115:45: E231 missing whitespace after ',' ./cowrie/commands/base.py:246:46: E226 missing whitespace around arithmetic operator ./cowrie/commands/base.py:313:25: E226 missing whitespace around arithmetic operator ./cowrie/commands/base.py:402:29: E226 missing whitespace around arithmetic operator ./cowrie/commands/base.py:495:61: E226 missing whitespace around arithmetic operator ./cowrie/commands/base.py:511:43: E226 missing whitespace around arithmetic operator ./cowrie/commands/base.py:596:29: E226 missing whitespace around arithmetic operator ./cowrie/commands/base.py:640:29: E226 missing whitespace around arithmetic operator 8 E226 missing whitespace around arithmetic operator 1 E231 missing whitespace after ',' 9 * flake8 E2 setup.py flake8 --count --select=E1,E2 --statistics setup.py ./setup.py:5:6: E211 whitespace before '(' ./setup.py:6:9: E251 unexpected spaces around keyword / parameter equals ./setup.py:6:9: E221 multiple spaces before operator ./setup.py:6:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:7:12: E251 unexpected spaces around keyword / parameter equals ./setup.py:7:12: E221 multiple spaces before operator ./setup.py:7:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:8:16: E251 unexpected spaces around keyword / parameter equals ./setup.py:8:16: E221 multiple spaces before operator ./setup.py:8:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:9:15: E251 unexpected spaces around keyword / parameter equals ./setup.py:9:15: E221 multiple spaces before operator ./setup.py:9:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:10:21: E251 unexpected spaces around keyword / parameter equals ./setup.py:10:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:11:13: E251 unexpected spaces around keyword / parameter equals ./setup.py:11:13: E221 multiple spaces before operator ./setup.py:11:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:12:8: E251 unexpected spaces around keyword / parameter equals ./setup.py:12:8: E221 multiple spaces before operator ./setup.py:12:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:13:13: E251 unexpected spaces around keyword / parameter equals ./setup.py:13:13: E221 multiple spaces before operator ./setup.py:13:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:15:17: E251 unexpected spaces around keyword / parameter equals ./setup.py:15:17: E221 multiple spaces before operator ./setup.py:15:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:15:25: E201 whitespace after '{' ./setup.py:15:38: E202 whitespace before '}' ./setup.py:16:12: E251 unexpected spaces around keyword / parameter equals ./setup.py:16:12: E221 multiple spaces before operator ./setup.py:16:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:21:21: E251 unexpected spaces around keyword / parameter equals ./setup.py:21:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:35:17: E251 unexpected spaces around keyword / parameter equals ./setup.py:35:17: E221 multiple spaces before operator ./setup.py:35:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:38:19: E251 unexpected spaces around keyword / parameter equals ./setup.py:38:19: E221 multiple spaces before operator ./setup.py:38:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:38:25: E201 whitespace after '{' 1 E127 continuation line over-indented for visual indent 1 E201 whitespace after '{' 1 E202 whitespace before '}' 1 E211 whitespace before '(' 26 E251 unexpected spaces around keyword / parameter equals 30 * flake8 E2 cowrie/shell/protocol.py flake8 --count --select=E1,E2 --statistics cowrie/shell/protocol.py cowrie/shell/protocol.py:63:119: E231 missing whitespace after ',' cowrie/shell/protocol.py:63:129: E231 missing whitespace after ',' cowrie/shell/protocol.py:139:29: E261 at least two spaces before inline comment cowrie/shell/protocol.py:146:9: E265 block comment should start with '# ' cowrie/shell/protocol.py:231:9: E265 block comment should start with '# ' cowrie/shell/protocol.py:309:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:309:43: E261 at least two spaces before inline comment cowrie/shell/protocol.py:310:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:310:43: E261 at least two spaces before inline comment cowrie/shell/protocol.py:311:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:311:45: E261 at least two spaces before inline comment cowrie/shell/protocol.py:312:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:312:45: E261 at least two spaces before inline comment cowrie/shell/protocol.py:313:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:313:42: E261 at least two spaces before inline comment cowrie/shell/protocol.py:314:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:314:44: E261 at least two spaces before inline comment cowrie/shell/protocol.py:315:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:315:48: E261 at least two spaces before inline comment cowrie/shell/protocol.py:316:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:317:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:317:45: E261 at least two spaces before inline comment cowrie/shell/protocol.py:318:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:318:45: E261 at least two spaces before inline comment cowrie/shell/protocol.py:319:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:319:43: E261 at least two spaces before inline comment cowrie/shell/protocol.py:320:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:320:41: E261 at least two spaces before inline comment cowrie/shell/protocol.py:321:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:321:45: E261 at least two spaces before inline comment cowrie/shell/protocol.py:322:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:322:45: E261 at least two spaces before inline comment cowrie/shell/protocol.py:323:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:323:42: E261 at least two spaces before inline comment cowrie/shell/protocol.py:331:67: E226 missing whitespace around arithmetic operator cowrie/shell/protocol.py:375:70: E226 missing whitespace around arithmetic operator 2 E226 missing whitespace around arithmetic operator 2 E231 missing whitespace after ',' 15 E241 multiple spaces after ':' 15 E261 at least two spaces before inline comment 2 E265 block comment should start with '# ' 36 * flake8 E2 cowrie/commands/scp.py flake8 --count --select=E1,E2 --statistics cowrie/commands/scp.py cowrie/commands/scp.py:235:48: E226 missing whitespace around arithmetic operator 1 E226 missing whitespace around arithmetic operator 1 * flake8 E2 cowrie/commands/ifconfig.py flake8 --count --select=E1,E2 --statistics cowrie/commands/ifconfig.py cowrie/commands/ifconfig.py:34:21: E226 missing whitespace around arithmetic operator 1 E226 missing whitespace around arithmetic operator 1 * flake8 E2 cowrie/commands/ssh.py flake8 --count --select=E1,E2 --statistics cowrie/commands/ssh.py cowrie/commands/ssh.py:58:29: E226 missing whitespace around arithmetic operator 1 E226 missing whitespace around arithmetic operator 1 * flake8 E2 cowrie/commands/iptables.py flake8 --count --select=E1,E2 --statistics cowrie/commands/iptables.py cowrie/commands/iptables.py:69:28: E231 missing whitespace after ',' cowrie/commands/iptables.py:69:36: E231 missing whitespace after ',' cowrie/commands/iptables.py:69:42: E231 missing whitespace after ',' cowrie/commands/iptables.py:71:24: E225 missing whitespace around operator cowrie/commands/iptables.py:74:24: E225 missing whitespace around operator cowrie/commands/iptables.py:75:38: E231 missing whitespace after ',' cowrie/commands/iptables.py:75:50: E231 missing whitespace after ',' cowrie/commands/iptables.py:320:41: E226 missing whitespace around arithmetic operator cowrie/commands/iptables.py:359:43: E226 missing whitespace around arithmetic operator 2 E225 missing whitespace around operator 2 E226 missing whitespace around arithmetic operator 5 E231 missing whitespace after ',' 9 * flake8 E2 cowrie/commands/python.py flake8 --count --select=E1,E2 --statistics cowrie/commands/python.py cowrie/commands/python.py:83:45: E222 multiple spaces after operator 1 E222 multiple spaces after operator 1 * flake8 E2 cowrie/commands/apt.py flake8 --count --select=E1,E2 --statistics cowrie/commands/apt.py cowrie/commands/apt.py:42:32: E251 unexpected spaces around keyword / parameter equals cowrie/commands/apt.py:42:34: E251 unexpected spaces around keyword / parameter equals cowrie/commands/apt.py:113:24: E231 missing whitespace after ',' cowrie/commands/apt.py:115:112: E231 missing whitespace after ',' cowrie/commands/apt.py:122:27: E241 multiple spaces after ':' cowrie/commands/apt.py:126:24: E241 multiple spaces after ':' 2 E231 missing whitespace after ',' 2 E241 multiple spaces after ':' 2 E251 unexpected spaces around keyword / parameter equals 6 * flake8 E2 cowrie/commands/fs.py flake8 --count --select=E1,E2 --statistics cowrie/commands/fs.py cowrie/commands/fs.py:36:35: E231 missing whitespace after ',' cowrie/commands/fs.py:45:20: E201 whitespace after '(' cowrie/commands/fs.py:46:20: E201 whitespace after '(' cowrie/commands/fs.py:47:20: E201 whitespace after '(' cowrie/commands/fs.py:48:20: E201 whitespace after '(' 4 E201 whitespace after '(' 1 E231 missing whitespace after ',' 5 * flake8 E2 cowrie/commands/gcc.py flake8 --count --select=E1,E2 --statistics cowrie/commands/gcc.py cowrie/commands/gcc.py:21:13: E221 multiple spaces before operator cowrie/commands/gcc.py:166:24: E226 missing whitespace around arithmetic operator 1 E221 multiple spaces before operator 1 E226 missing whitespace around arithmetic operator 2 * flake8 E2 cowrie/commands/last.py flake8 --count --select=E1,E2 --statistics cowrie/commands/last.py cowrie/commands/last.py:30:48: E231 missing whitespace after ',' cowrie/commands/last.py:36:81: E226 missing whitespace around arithmetic operator cowrie/commands/last.py:36:93: E226 missing whitespace around arithmetic operator cowrie/commands/last.py:36:102: E202 whitespace before ')' cowrie/commands/last.py:36:105: E202 whitespace before ')' 2 E202 whitespace before ')' 2 E226 missing whitespace around arithmetic operator 1 E231 missing whitespace after ',' 5 * flake8 E2 cowrie/commands/busybox.py flake8 --count --select=E1,E2 --statistics cowrie/commands/busybox.py cowrie/commands/busybox.py:6:50: E231 missing whitespace after ',' cowrie/commands/busybox.py:11:13: E225 missing whitespace around operator cowrie/commands/busybox.py:62:31: E226 missing whitespace around arithmetic operator 1 E225 missing whitespace around operator 1 E226 missing whitespace around arithmetic operator 1 E231 missing whitespace after ',' 3 * flake8 E2 cowrie/commands/netstat.py flake8 --count --select=E1,E2 --statistics cowrie/commands/netstat.py cowrie/commands/netstat.py:75:22: E226 missing whitespace around arithmetic operator cowrie/commands/netstat.py:76:22: E226 missing whitespace around arithmetic operator cowrie/commands/netstat.py:97:37: E226 missing whitespace around arithmetic operator cowrie/commands/netstat.py:97:41: E226 missing whitespace around arithmetic operator cowrie/commands/netstat.py:97:52: E226 missing whitespace around arithmetic operator cowrie/commands/netstat.py:97:60: E226 missing whitespace around arithmetic operator cowrie/commands/netstat.py:98:37: E226 missing whitespace around arithmetic operator cowrie/commands/netstat.py:98:41: E226 missing whitespace around arithmetic operator cowrie/commands/netstat.py:98:52: E226 missing whitespace around arithmetic operator cowrie/commands/netstat.py:98:60: E226 missing whitespace around arithmetic operator cowrie/commands/netstat.py:100:25: E226 missing whitespace around arithmetic operator 11 E226 missing whitespace around arithmetic operator 11 * flake8 E2 cowrie/commands/free.py flake8 --count --select=E1,E2 --statistics cowrie/commands/free.py cowrie/commands/free.py:16:11: E225 missing whitespace around operator cowrie/commands/free.py:21:10: E225 missing whitespace around operator cowrie/commands/free.py:26:11: E225 missing whitespace around operator cowrie/commands/free.py:60:15: E225 missing whitespace around operator cowrie/commands/free.py:61:34: E226 missing whitespace around arithmetic operator cowrie/commands/free.py:62:17: E225 missing whitespace around operator cowrie/commands/free.py:63:33: E226 missing whitespace around arithmetic operator cowrie/commands/free.py:64:17: E225 missing whitespace around operator cowrie/commands/free.py:65:34: E226 missing whitespace around arithmetic operator 6 E225 missing whitespace around operator 3 E226 missing whitespace around arithmetic operator 9 * flake8 E2 cowrie/commands/ls.py flake8 --count --select=E1,E2 --statistics cowrie/commands/ls.py cowrie/commands/ls.py:189:25: E226 missing whitespace around arithmetic operator 1 E226 missing whitespace around arithmetic operator 1 * flake8 E2 cowrie/commands/cat.py flake8 --count --select=E1,E2 --statistics cowrie/commands/cat.py cowrie/commands/cat.py:79:28: E226 missing whitespace around arithmetic operator 1 E226 missing whitespace around arithmetic operator 1 * flake8 E2 cowrie/commands/tar.py flake8 --count --select=E1,E2 --statistics cowrie/commands/tar.py cowrie/commands/tar.py:75:34: E226 missing whitespace around arithmetic operator 1 E226 missing whitespace around arithmetic operator 1 * flake8 E2 cowrie/commands/sudo.py flake8 --count --select=E1,E2 --statistics cowrie/commands/sudo.py cowrie/commands/sudo.py:9:50: E231 missing whitespace after ',' cowrie/commands/sudo.py:13:15: E225 missing whitespace around operator cowrie/commands/sudo.py:22:14: E225 missing whitespace around operator cowrie/commands/sudo.py:66:31: E226 missing whitespace around arithmetic operator cowrie/commands/sudo.py:74:31: E226 missing whitespace around arithmetic operator cowrie/commands/sudo.py:95:29: E231 missing whitespace after ',' cowrie/commands/sudo.py:96:26: E222 multiple spaces after operator cowrie/commands/sudo.py:101:45: E231 missing whitespace after ',' cowrie/commands/sudo.py:125:17: E265 block comment should start with '# ' cowrie/commands/sudo.py:128:70: E231 missing whitespace after ',' cowrie/commands/sudo.py:128:79: E231 missing whitespace after ',' cowrie/commands/sudo.py:128:106: E203 whitespace before ',' cowrie/commands/sudo.py:128:107: E231 missing whitespace after ',' 1 E203 whitespace before ',' 1 E222 multiple spaces after operator 2 E225 missing whitespace around operator 2 E226 missing whitespace around arithmetic operator 6 E231 missing whitespace after ',' 1 E265 block comment should start with '# ' 13 * flake8 E2 cowrie/commands/env.py flake8 --count --select=E1,E2 --statistics cowrie/commands/env.py cowrie/commands/env.py:41:39: E231 missing whitespace after ',' 1 E231 missing whitespace after ',' 1 * flake8 E2 cowrie/commands/curl.py flake8 --count --select=E1,E2 --statistics cowrie/commands/curl.py cowrie/commands/curl.py:85:12: E225 missing whitespace around operator cowrie/commands/curl.py:294:14: E261 at least two spaces before inline comment cowrie/commands/curl.py:349:46: E261 at least two spaces before inline comment cowrie/commands/curl.py:351:25: E226 missing whitespace around arithmetic operator cowrie/commands/curl.py:383:30: E261 at least two spaces before inline comment cowrie/commands/curl.py:437:46: E226 missing whitespace around arithmetic operator cowrie/commands/curl.py:437:64: E226 missing whitespace around arithmetic operator cowrie/commands/curl.py:440:55: E226 missing whitespace around arithmetic operator cowrie/commands/curl.py:464:41: E226 missing whitespace around arithmetic operator 1 E225 missing whitespace around operator 5 E226 missing whitespace around arithmetic operator 3 E261 at least two spaces before inline comment 9 * flake8 E2 cowrie/ssh/factory.py flake8 --count --select=E1,E2 --statistics cowrie/ssh/factory.py cowrie/ssh/factory.py:39:15: E261 at least two spaces before inline comment cowrie/ssh/factory.py:45:32: E226 missing whitespace around arithmetic operator 1 E226 missing whitespace around arithmetic operator 1 E261 at least two spaces before inline comment 2 * flake8 E2 cowrie/ssh/session.py flake8 --count --select=E1,E2 --statistics cowrie/ssh/session.py cowrie/ssh/session.py:22:9: E265 block comment should start with '# ' 1 E265 block comment should start with '# ' 1 * flake8 E2 cowrie/ssh/channel.py flake8 --count --select=E1,E2 --statistics cowrie/ssh/channel.py cowrie/ssh/channel.py:81:40: E226 missing whitespace around arithmetic operator cowrie/ssh/channel.py:82:37: E226 missing whitespace around arithmetic operator 2 E226 missing whitespace around arithmetic operator 2 * flake8 E2 cowrie/ssh/userauth.py flake8 --count --select=E1,E2 --statistics cowrie/ssh/userauth.py cowrie/ssh/userauth.py:133:26: E261 at least two spaces before inline comment cowrie/ssh/userauth.py:135:28: E261 at least two spaces before inline comment 2 E261 at least two spaces before inline comment 2 * flake8 E2 cowrie/ssh/transport.py flake8 --count --select=E1,E2 --statistics cowrie/ssh/transport.py cowrie/ssh/transport.py:59:56: E226 missing whitespace around arithmetic operator cowrie/ssh/transport.py:61:33: E226 missing whitespace around arithmetic operator cowrie/ssh/transport.py:61:55: E226 missing whitespace around arithmetic operator cowrie/ssh/transport.py:96:13: E265 block comment should start with '# ' cowrie/ssh/transport.py:107:38: E226 missing whitespace around arithmetic operator 4 E226 missing whitespace around arithmetic operator 1 E265 block comment should start with '# ' 5 * flake8 E2 cowrie/output/mysql.py flake8 --count --select=E1,E2 --statistics cowrie/output/mysql.py cowrie/output/mysql.py:37:72: E225 missing whitespace around operator cowrie/output/mysql.py:74:21: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:74:23: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:75:19: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:75:21: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:76:21: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:76:23: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:77:23: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:77:25: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:78:21: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:78:23: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:79:23: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:79:25: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:80:23: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:80:25: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:128:18: E222 multiple spaces after operator 1 E222 multiple spaces after operator 1 E225 missing whitespace around operator 14 E251 unexpected spaces around keyword / parameter equals 16 * flake8 E2 cowrie/output/hpfeeds3.py flake8 --count --select=E1,E2 --statistics cowrie/output/hpfeeds3.py cowrie/output/hpfeeds3.py:68:26: E231 missing whitespace after ':' cowrie/output/hpfeeds3.py:70:26: E231 missing whitespace after ':' cowrie/output/hpfeeds3.py:76:30: E231 missing whitespace after ':' cowrie/output/hpfeeds3.py:77:27: E231 missing whitespace after ':' cowrie/output/hpfeeds3.py:78:34: E231 missing whitespace after ':' cowrie/output/hpfeeds3.py:79:23: E231 missing whitespace after ':' 6 E231 missing whitespace after ':' 6 * flake8 E2 cowrie/output/textlog.py flake8 --count --select=E1,E2 --statistics cowrie/output/textlog.py cowrie/output/textlog.py:63:53: E226 missing whitespace around arithmetic operator cowrie/output/textlog.py:64:67: E226 missing whitespace around arithmetic operator cowrie/output/textlog.py:66:53: E226 missing whitespace around arithmetic operator cowrie/output/textlog.py:67:51: E226 missing whitespace around arithmetic operator 4 E226 missing whitespace around arithmetic operator 4 * flake8 E2 cowrie/output/sqlite.py flake8 --count --select=E1,E2 --statistics cowrie/output/sqlite.py cowrie/output/sqlite.py:36:25: E251 unexpected spaces around keyword / parameter equals cowrie/output/sqlite.py:36:27: E251 unexpected spaces around keyword / parameter equals cowrie/output/sqlite.py:86:18: E222 multiple spaces after operator 1 E222 multiple spaces after operator 2 E251 unexpected spaces around keyword / parameter equals 3 * flake8 E2 cowrie/output/hpfeeds.py flake8 --count --select=E1,E2 --statistics cowrie/output/hpfeeds.py cowrie/output/hpfeeds.py:33:9: E221 multiple spaces before operator cowrie/output/hpfeeds.py:34:8: E221 multiple spaces before operator cowrie/output/hpfeeds.py:35:8: E221 multiple spaces before operator cowrie/output/hpfeeds.py:36:11: E221 multiple spaces before operator cowrie/output/hpfeeds.py:37:13: E221 multiple spaces before operator cowrie/output/hpfeeds.py:41:16: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:42:15: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:42:19: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:43:15: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:43:19: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:44:18: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:45:20: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:45:24: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:73:17: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:73:25: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:78:32: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:94:36: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:127:48: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:248:37: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:248:48: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:300:26: E231 missing whitespace after ':' cowrie/output/hpfeeds.py:302:26: E231 missing whitespace after ':' cowrie/output/hpfeeds.py:308:30: E231 missing whitespace after ':' cowrie/output/hpfeeds.py:309:27: E231 missing whitespace after ':' cowrie/output/hpfeeds.py:310:34: E231 missing whitespace after ':' cowrie/output/hpfeeds.py:311:23: E231 missing whitespace after ':' 5 E221 multiple spaces before operator 15 E226 missing whitespace around arithmetic operator 6 E231 missing whitespace after ':' 26 * flake8 E2 cowrie/output/influx.py flake8 --count --select=E1,E2 --statistics cowrie/output/influx.py cowrie/output/influx.py:109:47: E231 missing whitespace after ',' 1 E231 missing whitespace after ',' 1 * flake8 E2 cowrie/output/virustotal.py flake8 --count --select=E1,E2 --statistics cowrie/output/virustotal.py cowrie/output/virustotal.py:93:13: E265 block comment should start with '# ' cowrie/output/virustotal.py:94:13: E265 block comment should start with '# ' cowrie/output/virustotal.py:95:13: E265 block comment should start with '# ' cowrie/output/virustotal.py:104:13: E265 block comment should start with '# ' cowrie/output/virustotal.py:105:13: E265 block comment should start with '# ' cowrie/output/virustotal.py:113:26: E226 missing whitespace around arithmetic operator cowrie/output/virustotal.py:126:17: E265 block comment should start with '# ' cowrie/output/virustotal.py:180:17: E265 block comment should start with '# ' cowrie/output/virustotal.py:193:26: E226 missing whitespace around arithmetic operator cowrie/output/virustotal.py:197:41: E226 missing whitespace around arithmetic operator cowrie/output/virustotal.py:261:26: E226 missing whitespace around arithmetic operator cowrie/output/virustotal.py:274:17: E265 block comment should start with '# ' cowrie/output/virustotal.py:329:26: E226 missing whitespace around arithmetic operator cowrie/output/virustotal.py:330:23: E201 whitespace after '{' 1 E201 whitespace after '{' 5 E226 missing whitespace around arithmetic operator 8 E265 block comment should start with '# ' 14 * flake8 E2 cowrie/output/jsonlog.py flake8 --count --select=E1,E2 --statistics cowrie/output/jsonlog.py cowrie/output/jsonlog.py:73:59: E225 missing whitespace around operator 1 E225 missing whitespace around operator 1 * flake8 E2 cowrie/output/dshield.py flake8 --count --select=E1,E2 --statistics cowrie/output/dshield.py cowrie/output/dshield.py:39:24: E261 at least two spaces before inline comment cowrie/output/dshield.py:50:23: E203 whitespace before ':' cowrie/output/dshield.py:51:23: E203 whitespace before ':' cowrie/output/dshield.py:52:27: E203 whitespace before ':' cowrie/output/dshield.py:53:28: E203 whitespace before ':' cowrie/output/dshield.py:54:23: E203 whitespace before ':' cowrie/output/dshield.py:55:27: E203 whitespace before ':' cowrie/output/dshield.py:102:27: E231 missing whitespace after ':' cowrie/output/dshield.py:104:9: E265 block comment should start with '# ' cowrie/output/dshield.py:111:19: E251 unexpected spaces around keyword / parameter equals cowrie/output/dshield.py:112:16: E251 unexpected spaces around keyword / parameter equals cowrie/output/dshield.py:112:18: E251 unexpected spaces around keyword / parameter equals cowrie/output/dshield.py:113:20: E251 unexpected spaces around keyword / parameter equals cowrie/output/dshield.py:113:22: E251 unexpected spaces around keyword / parameter equals cowrie/output/dshield.py:114:20: E251 unexpected spaces around keyword / parameter equals cowrie/output/dshield.py:114:22: E251 unexpected spaces around keyword / parameter equals cowrie/output/dshield.py:115:17: E251 unexpected spaces around keyword / parameter equals cowrie/output/dshield.py:115:19: E251 unexpected spaces around keyword / parameter equals cowrie/output/dshield.py:132:57: E226 missing whitespace around arithmetic operator 6 E203 whitespace before ':' 1 E226 missing whitespace around arithmetic operator 1 E231 missing whitespace after ':' 9 E251 unexpected spaces around keyword / parameter equals 1 E261 at least two spaces before inline comment 1 E265 block comment should start with '# ' 19 * flake8 E2 cowrie/output/elasticsearch.py flake8 --count --select=E1,E2 --statistics cowrie/output/elasticsearch.py cowrie/output/elasticsearch.py:22:21: E225 missing whitespace around operator 1 E225 missing whitespace around operator 1flake8 E2 cowrie/output/elasticsearch.py flake8 --count --select=E1,E2 --statistics cowrie/output/elasticsearch.py cowrie/output/elasticsearch.py:22:21: E225 missing whitespace around operator 1 E225 missing whitespace around operator 1flake8 E2 cowrie/output/elasticsearch.py flake8 --count --select=E1,E2 --statistics cowrie/output/elasticsearch.py cowrie/output/elasticsearch.py:22:21: E225 missing whitespace around operator 1 E225 missing whitespace around operator 1flake8 E2 cowrie/output/elasticsearch.py flake8 --count --select=E1,E2 --statistics cowrie/output/elasticsearch.py cowrie/output/elasticsearch.py:22:21: E225 missing whitespace around operator 1 E225 missing whitespace around operator 1flake8 E2 cowrie/output/elasticsearch.py flake8 --count --select=E1,E2 --statistics cowrie/output/elasticsearch.py cowrie/output/elasticsearch.py:22:21: E225 missing whitespace around operator 1 E225 missing whitespace around operator 1flake8 E2 cowrie/output/elasticsearch.py flake8 --count --select=E1,E2 --statistics cowrie/output/elasticsearch.py cowrie/output/elasticsearch.py:22:21: E225 missing whitespace around operator 1 E225 missing whitespace around operator 1flake8 E2 cowrie/output/elasticsearch.py flake8 --count --select=E1,E2 --statistics cowrie/output/elasticsearch.py cowrie/output/elasticsearch.py:22:21: E225 missing whitespace around operator 1 E225 missing whitespace around operator 1flake8 E2 cowrie/output/elasticsearch.py flake8 --count --select=E1,E2 --statistics cowrie/output/elasticsearch.py cowrie/output/elasticsearch.py:22:21: E225 missing whitespace around operator 1 E225 missing whitespace around operator 1 * flake8 E2 cowrie/output/xmpp.py flake8 --count --select=E1,E2 --statistics cowrie/output/xmpp.py cowrie/output/xmpp.py:19:20: E221 multiple spaces before operator cowrie/output/xmpp.py:24:18: E221 multiple spaces before operator cowrie/output/xmpp.py:25:18: E221 multiple spaces before operator cowrie/output/xmpp.py:71:15: E221 multiple spaces before operator cowrie/output/xmpp.py:72:13: E221 multiple spaces before operator cowrie/output/xmpp.py:72:21: E222 multiple spaces after operator cowrie/output/xmpp.py:73:17: E221 multiple spaces before operator cowrie/output/xmpp.py:74:12: E221 multiple spaces before operator cowrie/output/xmpp.py:79:44: E231 missing whitespace after ',' cowrie/output/xmpp.py:79:53: E231 missing whitespace after ',' cowrie/output/xmpp.py:79:58: E231 missing whitespace after ',' cowrie/output/xmpp.py:79:65: E231 missing whitespace after ',' cowrie/output/xmpp.py:86:46: E261 at least two spaces before inline comment cowrie/output/xmpp.py:102:38: E231 missing whitespace after ',' 7 E221 multiple spaces before operator 1 E222 multiple spaces after operator 5 E231 missing whitespace after ',' 1 E261 at least two spaces before inline comment 14 * flake8 E2 cowrie/shell/honeypot.py flake8 --count --select=E1,E2 --statistics cowrie/shell/honeypot.py cowrie/shell/honeypot.py:210:9: E265 block comment should start with '# ' cowrie/shell/honeypot.py:347:32: E226 missing whitespace around arithmetic operator cowrie/shell/honeypot.py:365:43: E226 missing whitespace around arithmetic operator cowrie/shell/honeypot.py:366:29: E222 multiple spaces after operator cowrie/shell/honeypot.py:397:33: E226 missing whitespace around arithmetic operator cowrie/shell/honeypot.py:398:30: E226 missing whitespace around arithmetic operator cowrie/shell/honeypot.py:402:9: E265 block comment should start with '# ' cowrie/shell/honeypot.py:403:9: E265 block comment should start with '# ' cowrie/shell/honeypot.py:408:45: E226 missing whitespace around arithmetic operator cowrie/shell/honeypot.py:408:49: E226 missing whitespace around arithmetic operator cowrie/shell/honeypot.py:408:72: E226 missing whitespace around arithmetic operator cowrie/shell/honeypot.py:408:76: E226 missing whitespace around arithmetic operator cowrie/shell/honeypot.py:414:35: E203 whitespace before ',' cowrie/shell/honeypot.py:440:19: E222 multiple spaces after operator 1 E203 whitespace before ',' 2 E222 multiple spaces after operator 8 E226 missing whitespace around arithmetic operator 3 E265 block comment should start with '# ' 14 * flake8 E2 cowrie/shell/fs.py flake8 --count --select=E1,E2 --statistics cowrie/shell/fs.py cowrie/shell/fs.py:229:63: E225 missing whitespace around operator cowrie/shell/fs.py:377:13: E265 block comment should start with '# ' cowrie/shell/fs.py:416:13: E265 block comment should start with '# ' cowrie/shell/fs.py:457:36: E225 missing whitespace around operator cowrie/shell/fs.py:558:23: E231 missing whitespace after ':' cowrie/shell/fs.py:559:22: E231 missing whitespace after ':' cowrie/shell/fs.py:560:22: E231 missing whitespace after ':' cowrie/shell/fs.py:561:23: E231 missing whitespace after ':' cowrie/shell/fs.py:562:23: E231 missing whitespace after ':' cowrie/shell/fs.py:563:24: E231 missing whitespace after ':' 2 E225 missing whitespace around operator 6 E231 missing whitespace after ':' 2 E265 block comment should start with '# ' 10 * flake8 E2 cowrie/shell/shlex.py flake8 --count --select=E1,E2 --statistics cowrie/shell/shlex.py cowrie/shell/shlex.py:70:13: E265 block comment should start with '# ' cowrie/shell/shlex.py:321:1: E265 block comment should start with '# ' 2 E265 block comment should start with '# ' 2 * flake8 E2 cowrie/shell/filetransfer.py flake8 --count --select=E1,E2 --statistics cowrie/shell/filetransfer.py cowrie/shell/filetransfer.py:83:43: E226 missing whitespace around arithmetic operator cowrie/shell/filetransfer.py:116:33: E226 missing whitespace around arithmetic operator cowrie/shell/filetransfer.py:309:9: E265 block comment should start with '# ' 2 E226 missing whitespace around arithmetic operator 1 E265 block comment should start with '# ' 3 * flake8 E2 cowrie/shell/session.py flake8 --count --select=E1,E2 --statistics cowrie/shell/session.py cowrie/shell/session.py:47:20: E225 missing whitespace around operator cowrie/shell/session.py:48:33: E225 missing whitespace around operator cowrie/shell/session.py:50:33: E225 missing whitespace around operator 3 E225 missing whitespace around operator 3 * flake8 E2 cowrie/shell/customparser.py flake8 --count --select=E1,E2 --statistics cowrie/shell/customparser.py cowrie/shell/customparser.py:56:27: E231 missing whitespace after ',' 1 E231 missing whitespace after ',' 1 * flake8 E2 cowrie/test/test_base_commands.py flake8 --count --select=E1,E2 --statistics cowrie/test/test_base_commands.py cowrie/test/test_base_commands.py:24:58: E211 whitespace before '(' cowrie/test/test_base_commands.py:33:41: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:38:41: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:43:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:47:49: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:52:49: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:57:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:74:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:83:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:87:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:94:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:114:49: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:123:49: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:134:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:139:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:144:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:149:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:154:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:159:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:164:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:169:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:174:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:179:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:184:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:189:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:193:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:198:42: E231 missing whitespace after ',' 1 E211 whitespace before '(' 26 E231 missing whitespace after ',' 27 * flake8 E2 cowrie/test/fake_transport.py flake8 --count --select=E1,E2 --statistics cowrie/test/fake_transport.py cowrie/test/fake_transport.py:8:42: E231 missing whitespace after ',' 1 E231 missing whitespace after ',' 1 * flake8 E2 cowrie/proxy/endpoints.py flake8 --count --select=E1,E2 --statistics cowrie/proxy/endpoints.py cowrie/proxy/endpoints.py:214:29: E226 missing whitespace around arithmetic operator cowrie/proxy/endpoints.py:233:42: E226 missing whitespace around arithmetic operator cowrie/proxy/endpoints.py:323:22: E231 missing whitespace after ',' cowrie/proxy/endpoints.py:323:25: E231 missing whitespace after ',' cowrie/proxy/endpoints.py:323:27: E231 missing whitespace after ',' cowrie/proxy/endpoints.py:323:30: E261 at least two spaces before inline comment cowrie/proxy/endpoints.py:346:55: E226 missing whitespace around arithmetic operator cowrie/proxy/endpoints.py:380:48: E226 missing whitespace around arithmetic operator cowrie/proxy/endpoints.py:824:24: E222 multiple spaces after operator cowrie/proxy/endpoints.py:992:24: E222 multiple spaces after operator 2 E222 multiple spaces after operator 4 E226 missing whitespace around arithmetic operator 3 E231 missing whitespace after ',' 1 E261 at least two spaces before inline comment 10 * flake8 E2 cowrie/proxy/avatar.py flake8 --count --select=E1,E2 --statistics cowrie/proxy/avatar.py cowrie/proxy/avatar.py:14:1: E265 block comment should start with '# ' cowrie/proxy/avatar.py:38:9: E265 block comment should start with '# ' cowrie/proxy/avatar.py:41:9: E265 block comment should start with '# ' cowrie/proxy/avatar.py:59:1: E265 block comment should start with '# ' 4 E265 block comment should start with '# ' 4 * Add TODO for checking SFTP support I removed code which was never used in this version of cowrie. But for me it looks like there is no SFTP support anymore? Look the previous commit message for more details. * flake8 E2 cowrie/proxy/session.py flake8 --count --select=E1,E2 --statistics cowrie/proxy/session.py cowrie/proxy/session.py:15:1: E265 block comment should start with '# ' cowrie/proxy/session.py:60:21: E261 at least two spaces before inline comment cowrie/proxy/session.py:61:18: E261 at least two spaces before inline comment cowrie/proxy/session.py:62:14: E261 at least two spaces before inline comment cowrie/proxy/session.py:71:13: E265 block comment should start with '# ' cowrie/proxy/session.py:83:30: E226 missing whitespace around arithmetic operator cowrie/proxy/session.py:83:42: E226 missing whitespace around arithmetic operator cowrie/proxy/session.py:83:59: E226 missing whitespace around arithmetic operator cowrie/proxy/session.py:91:37: E226 missing whitespace around arithmetic operator cowrie/proxy/session.py:146:9: E265 block comment should start with '# ' cowrie/proxy/session.py:168:32: E226 missing whitespace around arithmetic operator cowrie/proxy/session.py:169:26: E226 missing whitespace around arithmetic operator cowrie/proxy/session.py:170:26: E226 missing whitespace around arithmetic operator cowrie/proxy/session.py:171:26: E226 missing whitespace around arithmetic operator cowrie/proxy/session.py:185:28: E226 missing whitespace around arithmetic operator cowrie/proxy/session.py:189:23: E226 missing whitespace around arithmetic operator cowrie/proxy/session.py:250:9: E265 block comment should start with '# ' cowrie/proxy/session.py:322:13: E265 block comment should start with '# ' 10 E226 missing whitespace around arithmetic operator 3 E261 at least two spaces before inline comment 5 E265 block comment should start with '# ' 18 * flake8 E2 cowire/core/dblog.py flake8 --count --select=E1,E2 --statistics cowrie/core/dblog.py cowrie/core/dblog.py:27:9: E265 block comment should start with '# ' 1 E265 block comment should start with '# ' 1 * flake8 E2 cowrie/core/output.py flake8 --count --select=E1,E2 --statistics cowrie/core/output.py cowrie/core/output.py:172:9: E265 block comment should start with '# ' cowrie/core/output.py:174:13: E265 block comment should start with '# ' cowrie/core/output.py:175:13: E265 block comment should start with '# ' cowrie/core/output.py:176:13: E265 block comment should start with '# ' cowrie/core/output.py:177:13: E265 block comment should start with '# ' cowrie/core/output.py:188:32: E226 missing whitespace around arithmetic operator cowrie/core/output.py:192:36: E226 missing whitespace around arithmetic operator 2 E226 missing whitespace around arithmetic operator 5 E265 block comment should start with '# ' 7 * flake8 E2 cowrie/core/realm.py flake8 --count --select=E1,E2 --statistics cowrie/core/realm.py cowrie/core/realm.py:72:9: E265 block comment should start with '# ' 1 E265 block comment should start with '# ' 1 * flake8 E2 cowrie/core/utils.py flake8 --count --select=E1,E2 --statistics cowrie/core/utils.py cowrie/core/utils.py:35:55: E226 missing whitespace around arithmetic operator cowrie/core/utils.py:38:56: E226 missing whitespace around arithmetic operator cowrie/core/utils.py:57:22: E226 missing whitespace around arithmetic operator cowrie/core/utils.py:58:45: E226 missing whitespace around arithmetic operator cowrie/core/utils.py:59:35: E226 missing whitespace around arithmetic operator 5 E226 missing whitespace around arithmetic operator 5 * Enable flake8 E1 and E2 checks in travis Prevent bad code style of fixed flake8 errors again in the code. * Fixing missspelled variable
2018-07-05 18:46:00 +00:00
],
extras_require={
'csirtg': ['csirtgsdk>=0.0.0a17'],
'dshield': ['requests'],
'elasticsearch': ['pyes'],
'mysql': ['mysqlclient'],
'mongodb': ['pymongo'],
'rethinkdblog': ['rethinkdb'],
's3': ['botocore'],
'slack': ['slackclient'],
'influxdb': ['influxdb']
Fixing flake8 E2 (#796) * flake8 E2 cowrie/insults/insults.py flake8 --count --select=E1,E2 --statistics cowrie/insults/insults.py cowrie/insults/insults.py:51:28: E261 at least two spaces before inline comment cowrie/insults/insults.py:53:28: E261 at least two spaces before inline comment cowrie/insults/insults.py:86:14: E261 at least two spaces before inline comment cowrie/insults/insults.py:86:15: E262 inline comment should start with '# ' cowrie/insults/insults.py:115:13: E265 block comment should start with '# ' cowrie/insults/insults.py:181:47: E226 missing whitespace around arithmetic operator cowrie/insults/insults.py:215:41: E226 missing whitespace around arithmetic operator 2 E226 missing whitespace around arithmetic operator 3 E261 at least two spaces before inline comment 1 E262 inline comment should start with '# ' 1 E265 block comment should start with '# ' 7 * flake8 E2 cowrie/telnet/session.py flake8 --count --select=E1,E2 --statistics cowrie/telnet/session.py cowrie/telnet/session.py:28:11: E261 at least two spaces before inline comment cowrie/telnet/session.py:116:5: E265 block comment should start with '# ' 1 E261 at least two spaces before inline comment 1 E265 block comment should start with '# ' 2 * flake8 E2 cowrie/telnet/transport.py flake8 --count --select=E1,E2 --statistics cowrie/telnet/transport.py cowrie/telnet/transport.py:36:32: E226 missing whitespace around arithmetic operator cowrie/telnet/transport.py:108:9: E265 block comment should start with '# ' cowrie/telnet/transport.py:144:53: E226 missing whitespace around arithmetic operator cowrie/telnet/transport.py:197:13: E265 block comment should start with '# ' cowrie/telnet/transport.py:207:13: E265 block comment should start with '# ' cowrie/telnet/transport.py:208:13: E265 block comment should start with '# ' cowrie/telnet/transport.py:237:30: E226 missing whitespace around arithmetic operator 3 E226 missing whitespace around arithmetic operator 4 E265 block comment should start with '# ' 7 * flake8 E2 cowrie/dblog/xmpp.py lake8 --count --select=E1,E2 --statistics cowrie/dblog/xmpp.py cowrie/dblog/xmpp.py:20:20: E221 multiple spaces before operator cowrie/dblog/xmpp.py:25:18: E221 multiple spaces before operator cowrie/dblog/xmpp.py:26:18: E221 multiple spaces before operator cowrie/dblog/xmpp.py:38:29: E202 whitespace before ')' cowrie/dblog/xmpp.py:44:32: E202 whitespace before ')' cowrie/dblog/xmpp.py:66:15: E221 multiple spaces before operator cowrie/dblog/xmpp.py:67:13: E221 multiple spaces before operator cowrie/dblog/xmpp.py:68:17: E221 multiple spaces before operator cowrie/dblog/xmpp.py:69:12: E221 multiple spaces before operator cowrie/dblog/xmpp.py:81:54: E231 missing whitespace after ',' cowrie/dblog/xmpp.py:81:59: E231 missing whitespace after ',' cowrie/dblog/xmpp.py:81:66: E231 missing whitespace after ',' cowrie/dblog/xmpp.py:88:46: E261 at least two spaces before inline comment cowrie/dblog/xmpp.py:103:84: E203 whitespace before ',' cowrie/dblog/xmpp.py:109:33: E231 missing whitespace after ',' cowrie/dblog/xmpp.py:161:21: E221 multiple spaces before operator 2 E202 whitespace before ')' 1 E203 whitespace before ',' 8 E221 multiple spaces before operator 4 E231 missing whitespace after ',' 1 E261 at least two spaces before inline comment 16 * flake8 E2 cowrie/commands/ping.py flake8 --count --select=E1,E2 --statistics cowrie/commands/ping.py cowrie/commands/ping.py:57:21: E225 missing whitespace around operator cowrie/commands/ping.py:64:29: E226 missing whitespace around arithmetic operator 1 E225 missing whitespace around operator 1 E226 missing whitespace around arithmetic operator 2 * flake8 E2 cowrie/commands/base.py flake8 --count --select=E1,E2 --statistics cowrie/commands/base.py ./cowrie/commands/base.py:29:47: E226 missing whitespace around arithmetic operator ./cowrie/commands/base.py:115:45: E231 missing whitespace after ',' ./cowrie/commands/base.py:246:46: E226 missing whitespace around arithmetic operator ./cowrie/commands/base.py:313:25: E226 missing whitespace around arithmetic operator ./cowrie/commands/base.py:402:29: E226 missing whitespace around arithmetic operator ./cowrie/commands/base.py:495:61: E226 missing whitespace around arithmetic operator ./cowrie/commands/base.py:511:43: E226 missing whitespace around arithmetic operator ./cowrie/commands/base.py:596:29: E226 missing whitespace around arithmetic operator ./cowrie/commands/base.py:640:29: E226 missing whitespace around arithmetic operator 8 E226 missing whitespace around arithmetic operator 1 E231 missing whitespace after ',' 9 * flake8 E2 setup.py flake8 --count --select=E1,E2 --statistics setup.py ./setup.py:5:6: E211 whitespace before '(' ./setup.py:6:9: E251 unexpected spaces around keyword / parameter equals ./setup.py:6:9: E221 multiple spaces before operator ./setup.py:6:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:7:12: E251 unexpected spaces around keyword / parameter equals ./setup.py:7:12: E221 multiple spaces before operator ./setup.py:7:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:8:16: E251 unexpected spaces around keyword / parameter equals ./setup.py:8:16: E221 multiple spaces before operator ./setup.py:8:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:9:15: E251 unexpected spaces around keyword / parameter equals ./setup.py:9:15: E221 multiple spaces before operator ./setup.py:9:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:10:21: E251 unexpected spaces around keyword / parameter equals ./setup.py:10:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:11:13: E251 unexpected spaces around keyword / parameter equals ./setup.py:11:13: E221 multiple spaces before operator ./setup.py:11:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:12:8: E251 unexpected spaces around keyword / parameter equals ./setup.py:12:8: E221 multiple spaces before operator ./setup.py:12:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:13:13: E251 unexpected spaces around keyword / parameter equals ./setup.py:13:13: E221 multiple spaces before operator ./setup.py:13:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:15:17: E251 unexpected spaces around keyword / parameter equals ./setup.py:15:17: E221 multiple spaces before operator ./setup.py:15:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:15:25: E201 whitespace after '{' ./setup.py:15:38: E202 whitespace before '}' ./setup.py:16:12: E251 unexpected spaces around keyword / parameter equals ./setup.py:16:12: E221 multiple spaces before operator ./setup.py:16:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:21:21: E251 unexpected spaces around keyword / parameter equals ./setup.py:21:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:35:17: E251 unexpected spaces around keyword / parameter equals ./setup.py:35:17: E221 multiple spaces before operator ./setup.py:35:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:38:19: E251 unexpected spaces around keyword / parameter equals ./setup.py:38:19: E221 multiple spaces before operator ./setup.py:38:23: E251 unexpected spaces around keyword / parameter equals ./setup.py:38:25: E201 whitespace after '{' 1 E127 continuation line over-indented for visual indent 1 E201 whitespace after '{' 1 E202 whitespace before '}' 1 E211 whitespace before '(' 26 E251 unexpected spaces around keyword / parameter equals 30 * flake8 E2 cowrie/shell/protocol.py flake8 --count --select=E1,E2 --statistics cowrie/shell/protocol.py cowrie/shell/protocol.py:63:119: E231 missing whitespace after ',' cowrie/shell/protocol.py:63:129: E231 missing whitespace after ',' cowrie/shell/protocol.py:139:29: E261 at least two spaces before inline comment cowrie/shell/protocol.py:146:9: E265 block comment should start with '# ' cowrie/shell/protocol.py:231:9: E265 block comment should start with '# ' cowrie/shell/protocol.py:309:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:309:43: E261 at least two spaces before inline comment cowrie/shell/protocol.py:310:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:310:43: E261 at least two spaces before inline comment cowrie/shell/protocol.py:311:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:311:45: E261 at least two spaces before inline comment cowrie/shell/protocol.py:312:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:312:45: E261 at least two spaces before inline comment cowrie/shell/protocol.py:313:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:313:42: E261 at least two spaces before inline comment cowrie/shell/protocol.py:314:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:314:44: E261 at least two spaces before inline comment cowrie/shell/protocol.py:315:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:315:48: E261 at least two spaces before inline comment cowrie/shell/protocol.py:316:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:317:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:317:45: E261 at least two spaces before inline comment cowrie/shell/protocol.py:318:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:318:45: E261 at least two spaces before inline comment cowrie/shell/protocol.py:319:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:319:43: E261 at least two spaces before inline comment cowrie/shell/protocol.py:320:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:320:41: E261 at least two spaces before inline comment cowrie/shell/protocol.py:321:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:321:45: E261 at least two spaces before inline comment cowrie/shell/protocol.py:322:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:322:45: E261 at least two spaces before inline comment cowrie/shell/protocol.py:323:21: E241 multiple spaces after ':' cowrie/shell/protocol.py:323:42: E261 at least two spaces before inline comment cowrie/shell/protocol.py:331:67: E226 missing whitespace around arithmetic operator cowrie/shell/protocol.py:375:70: E226 missing whitespace around arithmetic operator 2 E226 missing whitespace around arithmetic operator 2 E231 missing whitespace after ',' 15 E241 multiple spaces after ':' 15 E261 at least two spaces before inline comment 2 E265 block comment should start with '# ' 36 * flake8 E2 cowrie/commands/scp.py flake8 --count --select=E1,E2 --statistics cowrie/commands/scp.py cowrie/commands/scp.py:235:48: E226 missing whitespace around arithmetic operator 1 E226 missing whitespace around arithmetic operator 1 * flake8 E2 cowrie/commands/ifconfig.py flake8 --count --select=E1,E2 --statistics cowrie/commands/ifconfig.py cowrie/commands/ifconfig.py:34:21: E226 missing whitespace around arithmetic operator 1 E226 missing whitespace around arithmetic operator 1 * flake8 E2 cowrie/commands/ssh.py flake8 --count --select=E1,E2 --statistics cowrie/commands/ssh.py cowrie/commands/ssh.py:58:29: E226 missing whitespace around arithmetic operator 1 E226 missing whitespace around arithmetic operator 1 * flake8 E2 cowrie/commands/iptables.py flake8 --count --select=E1,E2 --statistics cowrie/commands/iptables.py cowrie/commands/iptables.py:69:28: E231 missing whitespace after ',' cowrie/commands/iptables.py:69:36: E231 missing whitespace after ',' cowrie/commands/iptables.py:69:42: E231 missing whitespace after ',' cowrie/commands/iptables.py:71:24: E225 missing whitespace around operator cowrie/commands/iptables.py:74:24: E225 missing whitespace around operator cowrie/commands/iptables.py:75:38: E231 missing whitespace after ',' cowrie/commands/iptables.py:75:50: E231 missing whitespace after ',' cowrie/commands/iptables.py:320:41: E226 missing whitespace around arithmetic operator cowrie/commands/iptables.py:359:43: E226 missing whitespace around arithmetic operator 2 E225 missing whitespace around operator 2 E226 missing whitespace around arithmetic operator 5 E231 missing whitespace after ',' 9 * flake8 E2 cowrie/commands/python.py flake8 --count --select=E1,E2 --statistics cowrie/commands/python.py cowrie/commands/python.py:83:45: E222 multiple spaces after operator 1 E222 multiple spaces after operator 1 * flake8 E2 cowrie/commands/apt.py flake8 --count --select=E1,E2 --statistics cowrie/commands/apt.py cowrie/commands/apt.py:42:32: E251 unexpected spaces around keyword / parameter equals cowrie/commands/apt.py:42:34: E251 unexpected spaces around keyword / parameter equals cowrie/commands/apt.py:113:24: E231 missing whitespace after ',' cowrie/commands/apt.py:115:112: E231 missing whitespace after ',' cowrie/commands/apt.py:122:27: E241 multiple spaces after ':' cowrie/commands/apt.py:126:24: E241 multiple spaces after ':' 2 E231 missing whitespace after ',' 2 E241 multiple spaces after ':' 2 E251 unexpected spaces around keyword / parameter equals 6 * flake8 E2 cowrie/commands/fs.py flake8 --count --select=E1,E2 --statistics cowrie/commands/fs.py cowrie/commands/fs.py:36:35: E231 missing whitespace after ',' cowrie/commands/fs.py:45:20: E201 whitespace after '(' cowrie/commands/fs.py:46:20: E201 whitespace after '(' cowrie/commands/fs.py:47:20: E201 whitespace after '(' cowrie/commands/fs.py:48:20: E201 whitespace after '(' 4 E201 whitespace after '(' 1 E231 missing whitespace after ',' 5 * flake8 E2 cowrie/commands/gcc.py flake8 --count --select=E1,E2 --statistics cowrie/commands/gcc.py cowrie/commands/gcc.py:21:13: E221 multiple spaces before operator cowrie/commands/gcc.py:166:24: E226 missing whitespace around arithmetic operator 1 E221 multiple spaces before operator 1 E226 missing whitespace around arithmetic operator 2 * flake8 E2 cowrie/commands/last.py flake8 --count --select=E1,E2 --statistics cowrie/commands/last.py cowrie/commands/last.py:30:48: E231 missing whitespace after ',' cowrie/commands/last.py:36:81: E226 missing whitespace around arithmetic operator cowrie/commands/last.py:36:93: E226 missing whitespace around arithmetic operator cowrie/commands/last.py:36:102: E202 whitespace before ')' cowrie/commands/last.py:36:105: E202 whitespace before ')' 2 E202 whitespace before ')' 2 E226 missing whitespace around arithmetic operator 1 E231 missing whitespace after ',' 5 * flake8 E2 cowrie/commands/busybox.py flake8 --count --select=E1,E2 --statistics cowrie/commands/busybox.py cowrie/commands/busybox.py:6:50: E231 missing whitespace after ',' cowrie/commands/busybox.py:11:13: E225 missing whitespace around operator cowrie/commands/busybox.py:62:31: E226 missing whitespace around arithmetic operator 1 E225 missing whitespace around operator 1 E226 missing whitespace around arithmetic operator 1 E231 missing whitespace after ',' 3 * flake8 E2 cowrie/commands/netstat.py flake8 --count --select=E1,E2 --statistics cowrie/commands/netstat.py cowrie/commands/netstat.py:75:22: E226 missing whitespace around arithmetic operator cowrie/commands/netstat.py:76:22: E226 missing whitespace around arithmetic operator cowrie/commands/netstat.py:97:37: E226 missing whitespace around arithmetic operator cowrie/commands/netstat.py:97:41: E226 missing whitespace around arithmetic operator cowrie/commands/netstat.py:97:52: E226 missing whitespace around arithmetic operator cowrie/commands/netstat.py:97:60: E226 missing whitespace around arithmetic operator cowrie/commands/netstat.py:98:37: E226 missing whitespace around arithmetic operator cowrie/commands/netstat.py:98:41: E226 missing whitespace around arithmetic operator cowrie/commands/netstat.py:98:52: E226 missing whitespace around arithmetic operator cowrie/commands/netstat.py:98:60: E226 missing whitespace around arithmetic operator cowrie/commands/netstat.py:100:25: E226 missing whitespace around arithmetic operator 11 E226 missing whitespace around arithmetic operator 11 * flake8 E2 cowrie/commands/free.py flake8 --count --select=E1,E2 --statistics cowrie/commands/free.py cowrie/commands/free.py:16:11: E225 missing whitespace around operator cowrie/commands/free.py:21:10: E225 missing whitespace around operator cowrie/commands/free.py:26:11: E225 missing whitespace around operator cowrie/commands/free.py:60:15: E225 missing whitespace around operator cowrie/commands/free.py:61:34: E226 missing whitespace around arithmetic operator cowrie/commands/free.py:62:17: E225 missing whitespace around operator cowrie/commands/free.py:63:33: E226 missing whitespace around arithmetic operator cowrie/commands/free.py:64:17: E225 missing whitespace around operator cowrie/commands/free.py:65:34: E226 missing whitespace around arithmetic operator 6 E225 missing whitespace around operator 3 E226 missing whitespace around arithmetic operator 9 * flake8 E2 cowrie/commands/ls.py flake8 --count --select=E1,E2 --statistics cowrie/commands/ls.py cowrie/commands/ls.py:189:25: E226 missing whitespace around arithmetic operator 1 E226 missing whitespace around arithmetic operator 1 * flake8 E2 cowrie/commands/cat.py flake8 --count --select=E1,E2 --statistics cowrie/commands/cat.py cowrie/commands/cat.py:79:28: E226 missing whitespace around arithmetic operator 1 E226 missing whitespace around arithmetic operator 1 * flake8 E2 cowrie/commands/tar.py flake8 --count --select=E1,E2 --statistics cowrie/commands/tar.py cowrie/commands/tar.py:75:34: E226 missing whitespace around arithmetic operator 1 E226 missing whitespace around arithmetic operator 1 * flake8 E2 cowrie/commands/sudo.py flake8 --count --select=E1,E2 --statistics cowrie/commands/sudo.py cowrie/commands/sudo.py:9:50: E231 missing whitespace after ',' cowrie/commands/sudo.py:13:15: E225 missing whitespace around operator cowrie/commands/sudo.py:22:14: E225 missing whitespace around operator cowrie/commands/sudo.py:66:31: E226 missing whitespace around arithmetic operator cowrie/commands/sudo.py:74:31: E226 missing whitespace around arithmetic operator cowrie/commands/sudo.py:95:29: E231 missing whitespace after ',' cowrie/commands/sudo.py:96:26: E222 multiple spaces after operator cowrie/commands/sudo.py:101:45: E231 missing whitespace after ',' cowrie/commands/sudo.py:125:17: E265 block comment should start with '# ' cowrie/commands/sudo.py:128:70: E231 missing whitespace after ',' cowrie/commands/sudo.py:128:79: E231 missing whitespace after ',' cowrie/commands/sudo.py:128:106: E203 whitespace before ',' cowrie/commands/sudo.py:128:107: E231 missing whitespace after ',' 1 E203 whitespace before ',' 1 E222 multiple spaces after operator 2 E225 missing whitespace around operator 2 E226 missing whitespace around arithmetic operator 6 E231 missing whitespace after ',' 1 E265 block comment should start with '# ' 13 * flake8 E2 cowrie/commands/env.py flake8 --count --select=E1,E2 --statistics cowrie/commands/env.py cowrie/commands/env.py:41:39: E231 missing whitespace after ',' 1 E231 missing whitespace after ',' 1 * flake8 E2 cowrie/commands/curl.py flake8 --count --select=E1,E2 --statistics cowrie/commands/curl.py cowrie/commands/curl.py:85:12: E225 missing whitespace around operator cowrie/commands/curl.py:294:14: E261 at least two spaces before inline comment cowrie/commands/curl.py:349:46: E261 at least two spaces before inline comment cowrie/commands/curl.py:351:25: E226 missing whitespace around arithmetic operator cowrie/commands/curl.py:383:30: E261 at least two spaces before inline comment cowrie/commands/curl.py:437:46: E226 missing whitespace around arithmetic operator cowrie/commands/curl.py:437:64: E226 missing whitespace around arithmetic operator cowrie/commands/curl.py:440:55: E226 missing whitespace around arithmetic operator cowrie/commands/curl.py:464:41: E226 missing whitespace around arithmetic operator 1 E225 missing whitespace around operator 5 E226 missing whitespace around arithmetic operator 3 E261 at least two spaces before inline comment 9 * flake8 E2 cowrie/ssh/factory.py flake8 --count --select=E1,E2 --statistics cowrie/ssh/factory.py cowrie/ssh/factory.py:39:15: E261 at least two spaces before inline comment cowrie/ssh/factory.py:45:32: E226 missing whitespace around arithmetic operator 1 E226 missing whitespace around arithmetic operator 1 E261 at least two spaces before inline comment 2 * flake8 E2 cowrie/ssh/session.py flake8 --count --select=E1,E2 --statistics cowrie/ssh/session.py cowrie/ssh/session.py:22:9: E265 block comment should start with '# ' 1 E265 block comment should start with '# ' 1 * flake8 E2 cowrie/ssh/channel.py flake8 --count --select=E1,E2 --statistics cowrie/ssh/channel.py cowrie/ssh/channel.py:81:40: E226 missing whitespace around arithmetic operator cowrie/ssh/channel.py:82:37: E226 missing whitespace around arithmetic operator 2 E226 missing whitespace around arithmetic operator 2 * flake8 E2 cowrie/ssh/userauth.py flake8 --count --select=E1,E2 --statistics cowrie/ssh/userauth.py cowrie/ssh/userauth.py:133:26: E261 at least two spaces before inline comment cowrie/ssh/userauth.py:135:28: E261 at least two spaces before inline comment 2 E261 at least two spaces before inline comment 2 * flake8 E2 cowrie/ssh/transport.py flake8 --count --select=E1,E2 --statistics cowrie/ssh/transport.py cowrie/ssh/transport.py:59:56: E226 missing whitespace around arithmetic operator cowrie/ssh/transport.py:61:33: E226 missing whitespace around arithmetic operator cowrie/ssh/transport.py:61:55: E226 missing whitespace around arithmetic operator cowrie/ssh/transport.py:96:13: E265 block comment should start with '# ' cowrie/ssh/transport.py:107:38: E226 missing whitespace around arithmetic operator 4 E226 missing whitespace around arithmetic operator 1 E265 block comment should start with '# ' 5 * flake8 E2 cowrie/output/mysql.py flake8 --count --select=E1,E2 --statistics cowrie/output/mysql.py cowrie/output/mysql.py:37:72: E225 missing whitespace around operator cowrie/output/mysql.py:74:21: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:74:23: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:75:19: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:75:21: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:76:21: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:76:23: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:77:23: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:77:25: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:78:21: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:78:23: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:79:23: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:79:25: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:80:23: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:80:25: E251 unexpected spaces around keyword / parameter equals cowrie/output/mysql.py:128:18: E222 multiple spaces after operator 1 E222 multiple spaces after operator 1 E225 missing whitespace around operator 14 E251 unexpected spaces around keyword / parameter equals 16 * flake8 E2 cowrie/output/hpfeeds3.py flake8 --count --select=E1,E2 --statistics cowrie/output/hpfeeds3.py cowrie/output/hpfeeds3.py:68:26: E231 missing whitespace after ':' cowrie/output/hpfeeds3.py:70:26: E231 missing whitespace after ':' cowrie/output/hpfeeds3.py:76:30: E231 missing whitespace after ':' cowrie/output/hpfeeds3.py:77:27: E231 missing whitespace after ':' cowrie/output/hpfeeds3.py:78:34: E231 missing whitespace after ':' cowrie/output/hpfeeds3.py:79:23: E231 missing whitespace after ':' 6 E231 missing whitespace after ':' 6 * flake8 E2 cowrie/output/textlog.py flake8 --count --select=E1,E2 --statistics cowrie/output/textlog.py cowrie/output/textlog.py:63:53: E226 missing whitespace around arithmetic operator cowrie/output/textlog.py:64:67: E226 missing whitespace around arithmetic operator cowrie/output/textlog.py:66:53: E226 missing whitespace around arithmetic operator cowrie/output/textlog.py:67:51: E226 missing whitespace around arithmetic operator 4 E226 missing whitespace around arithmetic operator 4 * flake8 E2 cowrie/output/sqlite.py flake8 --count --select=E1,E2 --statistics cowrie/output/sqlite.py cowrie/output/sqlite.py:36:25: E251 unexpected spaces around keyword / parameter equals cowrie/output/sqlite.py:36:27: E251 unexpected spaces around keyword / parameter equals cowrie/output/sqlite.py:86:18: E222 multiple spaces after operator 1 E222 multiple spaces after operator 2 E251 unexpected spaces around keyword / parameter equals 3 * flake8 E2 cowrie/output/hpfeeds.py flake8 --count --select=E1,E2 --statistics cowrie/output/hpfeeds.py cowrie/output/hpfeeds.py:33:9: E221 multiple spaces before operator cowrie/output/hpfeeds.py:34:8: E221 multiple spaces before operator cowrie/output/hpfeeds.py:35:8: E221 multiple spaces before operator cowrie/output/hpfeeds.py:36:11: E221 multiple spaces before operator cowrie/output/hpfeeds.py:37:13: E221 multiple spaces before operator cowrie/output/hpfeeds.py:41:16: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:42:15: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:42:19: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:43:15: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:43:19: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:44:18: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:45:20: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:45:24: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:73:17: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:73:25: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:78:32: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:94:36: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:127:48: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:248:37: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:248:48: E226 missing whitespace around arithmetic operator cowrie/output/hpfeeds.py:300:26: E231 missing whitespace after ':' cowrie/output/hpfeeds.py:302:26: E231 missing whitespace after ':' cowrie/output/hpfeeds.py:308:30: E231 missing whitespace after ':' cowrie/output/hpfeeds.py:309:27: E231 missing whitespace after ':' cowrie/output/hpfeeds.py:310:34: E231 missing whitespace after ':' cowrie/output/hpfeeds.py:311:23: E231 missing whitespace after ':' 5 E221 multiple spaces before operator 15 E226 missing whitespace around arithmetic operator 6 E231 missing whitespace after ':' 26 * flake8 E2 cowrie/output/influx.py flake8 --count --select=E1,E2 --statistics cowrie/output/influx.py cowrie/output/influx.py:109:47: E231 missing whitespace after ',' 1 E231 missing whitespace after ',' 1 * flake8 E2 cowrie/output/virustotal.py flake8 --count --select=E1,E2 --statistics cowrie/output/virustotal.py cowrie/output/virustotal.py:93:13: E265 block comment should start with '# ' cowrie/output/virustotal.py:94:13: E265 block comment should start with '# ' cowrie/output/virustotal.py:95:13: E265 block comment should start with '# ' cowrie/output/virustotal.py:104:13: E265 block comment should start with '# ' cowrie/output/virustotal.py:105:13: E265 block comment should start with '# ' cowrie/output/virustotal.py:113:26: E226 missing whitespace around arithmetic operator cowrie/output/virustotal.py:126:17: E265 block comment should start with '# ' cowrie/output/virustotal.py:180:17: E265 block comment should start with '# ' cowrie/output/virustotal.py:193:26: E226 missing whitespace around arithmetic operator cowrie/output/virustotal.py:197:41: E226 missing whitespace around arithmetic operator cowrie/output/virustotal.py:261:26: E226 missing whitespace around arithmetic operator cowrie/output/virustotal.py:274:17: E265 block comment should start with '# ' cowrie/output/virustotal.py:329:26: E226 missing whitespace around arithmetic operator cowrie/output/virustotal.py:330:23: E201 whitespace after '{' 1 E201 whitespace after '{' 5 E226 missing whitespace around arithmetic operator 8 E265 block comment should start with '# ' 14 * flake8 E2 cowrie/output/jsonlog.py flake8 --count --select=E1,E2 --statistics cowrie/output/jsonlog.py cowrie/output/jsonlog.py:73:59: E225 missing whitespace around operator 1 E225 missing whitespace around operator 1 * flake8 E2 cowrie/output/dshield.py flake8 --count --select=E1,E2 --statistics cowrie/output/dshield.py cowrie/output/dshield.py:39:24: E261 at least two spaces before inline comment cowrie/output/dshield.py:50:23: E203 whitespace before ':' cowrie/output/dshield.py:51:23: E203 whitespace before ':' cowrie/output/dshield.py:52:27: E203 whitespace before ':' cowrie/output/dshield.py:53:28: E203 whitespace before ':' cowrie/output/dshield.py:54:23: E203 whitespace before ':' cowrie/output/dshield.py:55:27: E203 whitespace before ':' cowrie/output/dshield.py:102:27: E231 missing whitespace after ':' cowrie/output/dshield.py:104:9: E265 block comment should start with '# ' cowrie/output/dshield.py:111:19: E251 unexpected spaces around keyword / parameter equals cowrie/output/dshield.py:112:16: E251 unexpected spaces around keyword / parameter equals cowrie/output/dshield.py:112:18: E251 unexpected spaces around keyword / parameter equals cowrie/output/dshield.py:113:20: E251 unexpected spaces around keyword / parameter equals cowrie/output/dshield.py:113:22: E251 unexpected spaces around keyword / parameter equals cowrie/output/dshield.py:114:20: E251 unexpected spaces around keyword / parameter equals cowrie/output/dshield.py:114:22: E251 unexpected spaces around keyword / parameter equals cowrie/output/dshield.py:115:17: E251 unexpected spaces around keyword / parameter equals cowrie/output/dshield.py:115:19: E251 unexpected spaces around keyword / parameter equals cowrie/output/dshield.py:132:57: E226 missing whitespace around arithmetic operator 6 E203 whitespace before ':' 1 E226 missing whitespace around arithmetic operator 1 E231 missing whitespace after ':' 9 E251 unexpected spaces around keyword / parameter equals 1 E261 at least two spaces before inline comment 1 E265 block comment should start with '# ' 19 * flake8 E2 cowrie/output/elasticsearch.py flake8 --count --select=E1,E2 --statistics cowrie/output/elasticsearch.py cowrie/output/elasticsearch.py:22:21: E225 missing whitespace around operator 1 E225 missing whitespace around operator 1flake8 E2 cowrie/output/elasticsearch.py flake8 --count --select=E1,E2 --statistics cowrie/output/elasticsearch.py cowrie/output/elasticsearch.py:22:21: E225 missing whitespace around operator 1 E225 missing whitespace around operator 1flake8 E2 cowrie/output/elasticsearch.py flake8 --count --select=E1,E2 --statistics cowrie/output/elasticsearch.py cowrie/output/elasticsearch.py:22:21: E225 missing whitespace around operator 1 E225 missing whitespace around operator 1flake8 E2 cowrie/output/elasticsearch.py flake8 --count --select=E1,E2 --statistics cowrie/output/elasticsearch.py cowrie/output/elasticsearch.py:22:21: E225 missing whitespace around operator 1 E225 missing whitespace around operator 1flake8 E2 cowrie/output/elasticsearch.py flake8 --count --select=E1,E2 --statistics cowrie/output/elasticsearch.py cowrie/output/elasticsearch.py:22:21: E225 missing whitespace around operator 1 E225 missing whitespace around operator 1flake8 E2 cowrie/output/elasticsearch.py flake8 --count --select=E1,E2 --statistics cowrie/output/elasticsearch.py cowrie/output/elasticsearch.py:22:21: E225 missing whitespace around operator 1 E225 missing whitespace around operator 1flake8 E2 cowrie/output/elasticsearch.py flake8 --count --select=E1,E2 --statistics cowrie/output/elasticsearch.py cowrie/output/elasticsearch.py:22:21: E225 missing whitespace around operator 1 E225 missing whitespace around operator 1flake8 E2 cowrie/output/elasticsearch.py flake8 --count --select=E1,E2 --statistics cowrie/output/elasticsearch.py cowrie/output/elasticsearch.py:22:21: E225 missing whitespace around operator 1 E225 missing whitespace around operator 1 * flake8 E2 cowrie/output/xmpp.py flake8 --count --select=E1,E2 --statistics cowrie/output/xmpp.py cowrie/output/xmpp.py:19:20: E221 multiple spaces before operator cowrie/output/xmpp.py:24:18: E221 multiple spaces before operator cowrie/output/xmpp.py:25:18: E221 multiple spaces before operator cowrie/output/xmpp.py:71:15: E221 multiple spaces before operator cowrie/output/xmpp.py:72:13: E221 multiple spaces before operator cowrie/output/xmpp.py:72:21: E222 multiple spaces after operator cowrie/output/xmpp.py:73:17: E221 multiple spaces before operator cowrie/output/xmpp.py:74:12: E221 multiple spaces before operator cowrie/output/xmpp.py:79:44: E231 missing whitespace after ',' cowrie/output/xmpp.py:79:53: E231 missing whitespace after ',' cowrie/output/xmpp.py:79:58: E231 missing whitespace after ',' cowrie/output/xmpp.py:79:65: E231 missing whitespace after ',' cowrie/output/xmpp.py:86:46: E261 at least two spaces before inline comment cowrie/output/xmpp.py:102:38: E231 missing whitespace after ',' 7 E221 multiple spaces before operator 1 E222 multiple spaces after operator 5 E231 missing whitespace after ',' 1 E261 at least two spaces before inline comment 14 * flake8 E2 cowrie/shell/honeypot.py flake8 --count --select=E1,E2 --statistics cowrie/shell/honeypot.py cowrie/shell/honeypot.py:210:9: E265 block comment should start with '# ' cowrie/shell/honeypot.py:347:32: E226 missing whitespace around arithmetic operator cowrie/shell/honeypot.py:365:43: E226 missing whitespace around arithmetic operator cowrie/shell/honeypot.py:366:29: E222 multiple spaces after operator cowrie/shell/honeypot.py:397:33: E226 missing whitespace around arithmetic operator cowrie/shell/honeypot.py:398:30: E226 missing whitespace around arithmetic operator cowrie/shell/honeypot.py:402:9: E265 block comment should start with '# ' cowrie/shell/honeypot.py:403:9: E265 block comment should start with '# ' cowrie/shell/honeypot.py:408:45: E226 missing whitespace around arithmetic operator cowrie/shell/honeypot.py:408:49: E226 missing whitespace around arithmetic operator cowrie/shell/honeypot.py:408:72: E226 missing whitespace around arithmetic operator cowrie/shell/honeypot.py:408:76: E226 missing whitespace around arithmetic operator cowrie/shell/honeypot.py:414:35: E203 whitespace before ',' cowrie/shell/honeypot.py:440:19: E222 multiple spaces after operator 1 E203 whitespace before ',' 2 E222 multiple spaces after operator 8 E226 missing whitespace around arithmetic operator 3 E265 block comment should start with '# ' 14 * flake8 E2 cowrie/shell/fs.py flake8 --count --select=E1,E2 --statistics cowrie/shell/fs.py cowrie/shell/fs.py:229:63: E225 missing whitespace around operator cowrie/shell/fs.py:377:13: E265 block comment should start with '# ' cowrie/shell/fs.py:416:13: E265 block comment should start with '# ' cowrie/shell/fs.py:457:36: E225 missing whitespace around operator cowrie/shell/fs.py:558:23: E231 missing whitespace after ':' cowrie/shell/fs.py:559:22: E231 missing whitespace after ':' cowrie/shell/fs.py:560:22: E231 missing whitespace after ':' cowrie/shell/fs.py:561:23: E231 missing whitespace after ':' cowrie/shell/fs.py:562:23: E231 missing whitespace after ':' cowrie/shell/fs.py:563:24: E231 missing whitespace after ':' 2 E225 missing whitespace around operator 6 E231 missing whitespace after ':' 2 E265 block comment should start with '# ' 10 * flake8 E2 cowrie/shell/shlex.py flake8 --count --select=E1,E2 --statistics cowrie/shell/shlex.py cowrie/shell/shlex.py:70:13: E265 block comment should start with '# ' cowrie/shell/shlex.py:321:1: E265 block comment should start with '# ' 2 E265 block comment should start with '# ' 2 * flake8 E2 cowrie/shell/filetransfer.py flake8 --count --select=E1,E2 --statistics cowrie/shell/filetransfer.py cowrie/shell/filetransfer.py:83:43: E226 missing whitespace around arithmetic operator cowrie/shell/filetransfer.py:116:33: E226 missing whitespace around arithmetic operator cowrie/shell/filetransfer.py:309:9: E265 block comment should start with '# ' 2 E226 missing whitespace around arithmetic operator 1 E265 block comment should start with '# ' 3 * flake8 E2 cowrie/shell/session.py flake8 --count --select=E1,E2 --statistics cowrie/shell/session.py cowrie/shell/session.py:47:20: E225 missing whitespace around operator cowrie/shell/session.py:48:33: E225 missing whitespace around operator cowrie/shell/session.py:50:33: E225 missing whitespace around operator 3 E225 missing whitespace around operator 3 * flake8 E2 cowrie/shell/customparser.py flake8 --count --select=E1,E2 --statistics cowrie/shell/customparser.py cowrie/shell/customparser.py:56:27: E231 missing whitespace after ',' 1 E231 missing whitespace after ',' 1 * flake8 E2 cowrie/test/test_base_commands.py flake8 --count --select=E1,E2 --statistics cowrie/test/test_base_commands.py cowrie/test/test_base_commands.py:24:58: E211 whitespace before '(' cowrie/test/test_base_commands.py:33:41: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:38:41: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:43:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:47:49: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:52:49: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:57:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:74:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:83:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:87:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:94:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:114:49: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:123:49: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:134:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:139:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:144:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:149:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:154:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:159:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:164:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:169:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:174:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:179:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:184:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:189:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:193:42: E231 missing whitespace after ',' cowrie/test/test_base_commands.py:198:42: E231 missing whitespace after ',' 1 E211 whitespace before '(' 26 E231 missing whitespace after ',' 27 * flake8 E2 cowrie/test/fake_transport.py flake8 --count --select=E1,E2 --statistics cowrie/test/fake_transport.py cowrie/test/fake_transport.py:8:42: E231 missing whitespace after ',' 1 E231 missing whitespace after ',' 1 * flake8 E2 cowrie/proxy/endpoints.py flake8 --count --select=E1,E2 --statistics cowrie/proxy/endpoints.py cowrie/proxy/endpoints.py:214:29: E226 missing whitespace around arithmetic operator cowrie/proxy/endpoints.py:233:42: E226 missing whitespace around arithmetic operator cowrie/proxy/endpoints.py:323:22: E231 missing whitespace after ',' cowrie/proxy/endpoints.py:323:25: E231 missing whitespace after ',' cowrie/proxy/endpoints.py:323:27: E231 missing whitespace after ',' cowrie/proxy/endpoints.py:323:30: E261 at least two spaces before inline comment cowrie/proxy/endpoints.py:346:55: E226 missing whitespace around arithmetic operator cowrie/proxy/endpoints.py:380:48: E226 missing whitespace around arithmetic operator cowrie/proxy/endpoints.py:824:24: E222 multiple spaces after operator cowrie/proxy/endpoints.py:992:24: E222 multiple spaces after operator 2 E222 multiple spaces after operator 4 E226 missing whitespace around arithmetic operator 3 E231 missing whitespace after ',' 1 E261 at least two spaces before inline comment 10 * flake8 E2 cowrie/proxy/avatar.py flake8 --count --select=E1,E2 --statistics cowrie/proxy/avatar.py cowrie/proxy/avatar.py:14:1: E265 block comment should start with '# ' cowrie/proxy/avatar.py:38:9: E265 block comment should start with '# ' cowrie/proxy/avatar.py:41:9: E265 block comment should start with '# ' cowrie/proxy/avatar.py:59:1: E265 block comment should start with '# ' 4 E265 block comment should start with '# ' 4 * Add TODO for checking SFTP support I removed code which was never used in this version of cowrie. But for me it looks like there is no SFTP support anymore? Look the previous commit message for more details. * flake8 E2 cowrie/proxy/session.py flake8 --count --select=E1,E2 --statistics cowrie/proxy/session.py cowrie/proxy/session.py:15:1: E265 block comment should start with '# ' cowrie/proxy/session.py:60:21: E261 at least two spaces before inline comment cowrie/proxy/session.py:61:18: E261 at least two spaces before inline comment cowrie/proxy/session.py:62:14: E261 at least two spaces before inline comment cowrie/proxy/session.py:71:13: E265 block comment should start with '# ' cowrie/proxy/session.py:83:30: E226 missing whitespace around arithmetic operator cowrie/proxy/session.py:83:42: E226 missing whitespace around arithmetic operator cowrie/proxy/session.py:83:59: E226 missing whitespace around arithmetic operator cowrie/proxy/session.py:91:37: E226 missing whitespace around arithmetic operator cowrie/proxy/session.py:146:9: E265 block comment should start with '# ' cowrie/proxy/session.py:168:32: E226 missing whitespace around arithmetic operator cowrie/proxy/session.py:169:26: E226 missing whitespace around arithmetic operator cowrie/proxy/session.py:170:26: E226 missing whitespace around arithmetic operator cowrie/proxy/session.py:171:26: E226 missing whitespace around arithmetic operator cowrie/proxy/session.py:185:28: E226 missing whitespace around arithmetic operator cowrie/proxy/session.py:189:23: E226 missing whitespace around arithmetic operator cowrie/proxy/session.py:250:9: E265 block comment should start with '# ' cowrie/proxy/session.py:322:13: E265 block comment should start with '# ' 10 E226 missing whitespace around arithmetic operator 3 E261 at least two spaces before inline comment 5 E265 block comment should start with '# ' 18 * flake8 E2 cowire/core/dblog.py flake8 --count --select=E1,E2 --statistics cowrie/core/dblog.py cowrie/core/dblog.py:27:9: E265 block comment should start with '# ' 1 E265 block comment should start with '# ' 1 * flake8 E2 cowrie/core/output.py flake8 --count --select=E1,E2 --statistics cowrie/core/output.py cowrie/core/output.py:172:9: E265 block comment should start with '# ' cowrie/core/output.py:174:13: E265 block comment should start with '# ' cowrie/core/output.py:175:13: E265 block comment should start with '# ' cowrie/core/output.py:176:13: E265 block comment should start with '# ' cowrie/core/output.py:177:13: E265 block comment should start with '# ' cowrie/core/output.py:188:32: E226 missing whitespace around arithmetic operator cowrie/core/output.py:192:36: E226 missing whitespace around arithmetic operator 2 E226 missing whitespace around arithmetic operator 5 E265 block comment should start with '# ' 7 * flake8 E2 cowrie/core/realm.py flake8 --count --select=E1,E2 --statistics cowrie/core/realm.py cowrie/core/realm.py:72:9: E265 block comment should start with '# ' 1 E265 block comment should start with '# ' 1 * flake8 E2 cowrie/core/utils.py flake8 --count --select=E1,E2 --statistics cowrie/core/utils.py cowrie/core/utils.py:35:55: E226 missing whitespace around arithmetic operator cowrie/core/utils.py:38:56: E226 missing whitespace around arithmetic operator cowrie/core/utils.py:57:22: E226 missing whitespace around arithmetic operator cowrie/core/utils.py:58:45: E226 missing whitespace around arithmetic operator cowrie/core/utils.py:59:35: E226 missing whitespace around arithmetic operator 5 E226 missing whitespace around arithmetic operator 5 * Enable flake8 E1 and E2 checks in travis Prevent bad code style of fixed flake8 errors again in the code. * Fixing missspelled variable
2018-07-05 18:46:00 +00:00
}
2018-02-04 18:43:42 +00:00
)