Henry Gessau e5bd64ff26 Enable flake8 E711 and E712 checking
E711 comparison to False should be 'if cond is False:' or 'if not cond:'
     comparison to None should be 'if cond is None:' or 'if not cond:'
E712 comparison to True should be 'if cond is True:' or 'if cond:'

Most violations were in DB queries. Replace as follows:
  False -> sqlalchemy.sql.false()
  None  -> sqlalchemy.sql.null()
  True  -> sqlalchemy.sql.true()

Change-Id: Iff54747b70f504d5466cfdc6e2ec4d7a0f9ddb7c
Closes-bug: #1305377
2014-04-09 23:03:57 -04:00
..
2014-03-12 16:02:11 -07:00
2014-04-01 13:10:14 -04:00
2014-04-09 23:03:57 -04:00
2014-04-09 23:03:57 -04:00
2014-03-03 14:48:59 -08:00