pylint-errors

W1502 (boolean-datetime)

:x: Problematic code:

# to be addded

:heavy_check_mark: Correct code:

# to be added

Rationale:

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.