W1502 boolean-datetimeΒΆ
- Message
'Using datetime.time in a boolean context.'
- Description
Using datetime.time in a boolean context can hide subtle bugs when the time they represent matches midnight UTC. This behaviour was fixed in Python 3.5. See http://bugs.python.org/issue13936 for reference.