PY3.W1502
Boolean datetime
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. It can't be emitted when using Python >= 3.5.
Noncompliant Code:
Copy
# to be added
Compliant Code:
Copy
# to be added