Refactor: Fix Flake8 E711 87/68387/2
authorThanh Ha <zxiiro@gmail.com>
Fri, 30 Jul 2021 22:36:22 +0000 (18:36 -0400)
committerThanh Ha <zxiiro@gmail.com>
Sat, 31 Jul 2021 03:46:45 +0000 (23:46 -0400)
commit58239e4b9ce35e6a083c3c01edd7513d3cc083e7
tree408c7604ebbb743c35997e421e54ce897bf95c14
parent993b61b37eb6bfb165f32dc24f0e36c9237e0a48
Refactor: Fix Flake8 E711

Comparisons to the singleton objects, like True, False, and None,
should be done with identity, not equality. Use “is” or “is not”

Ref: https://www.flake8rules.com/rules/E711.html
Signed-off-by: Thanh Ha <zxiiro@gmail.com>
Change-Id: I33e80228341b93bdeb6cae1b587b8b19275c589d
tests/test_nexus.py