Refactor: Fix E713 form should be "not in" 89/68389/1
authorThanh Ha <zxiiro@gmail.com>
Sat, 31 Jul 2021 03:53:40 +0000 (23:53 -0400)
committerThanh Ha <zxiiro@gmail.com>
Sat, 31 Jul 2021 03:54:45 +0000 (23:54 -0400)
commitc9ee3fe69ba2dd1e72f4bb7ab201afb3dedd1fbe
tree7f431bf7cd698445847e3ade620e7532f77758a8
parent993b61b37eb6bfb165f32dc24f0e36c9237e0a48
Refactor: Fix E713 form should be "not in"

Tests for membership should use the form x not in the_list
rather than not x in the_list. The former example is simply
more readable.

Ref: https://www.flake8rules.com/rules/E713.html
Signed-off-by: Thanh Ha <zxiiro@gmail.com>
Change-Id: I3ab1811c2a6b7e6135397e694b4ec4a1ab980c93
lftools/license.py
lftools/nexus/cmd.py
lftools/nexus/release_docker_hub.py
lftools/shell/dco.py
tests/test_release_docker_hub.py