25:1: F401 'datetime' imported but unused
55:21: E127 continuation line over-indented for visual indent
107:29: E127 continuation line over-indented for visual indent
113:29: E127 continuation line over-indented for visual indent
121:71: E211 whitespace before '['
121:71: E502 the backslash is redundant between brackets
122:21: E128 continuation line under-indented for visual indent
140:25: E127 continuation line over-indented for visual indent
146:25: E127 continuation line over-indented for visual indent
249:5: E303 too many blank lines (2)
275:17: E128 continuation line under-indented for visual indent
297:9: E301 expected 1 blank line, found 0