Fix tests for membership to use 'not in'

flake8 reports:

  E713 test for membership should be 'not in'

Change-Id: I4446be67c431b7267105b53478d2ceba2af758d7
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/254451
Tested-by: David Pursehouse <dpursehouse@collab.net>
Reviewed-by: Mike Frysinger <vapier@google.com>
diff --git a/gitc_utils.py b/gitc_utils.py
index b47e181..8b5b007 100644
--- a/gitc_utils.py
+++ b/gitc_utils.py
@@ -104,11 +104,11 @@
       if not proj.upstream and not git_config.IsId(proj.revisionExpr):
         proj.upstream = proj.revisionExpr
 
-      if not path in gitc_manifest.paths:
+      if path not in gitc_manifest.paths:
         # Any new projects need their first revision, even if we weren't asked
         # for them.
         projects.append(proj)
-      elif not path in paths:
+      elif path not in paths:
         # And copy revisions from the previous manifest if we're not updating
         # them now.
         gitc_proj = gitc_manifest.paths[path]
diff --git a/manifest_xml.py b/manifest_xml.py
index 2be717e..d24dbce 100644
--- a/manifest_xml.py
+++ b/manifest_xml.py
@@ -1093,7 +1093,7 @@
     diff = {'added': [], 'removed': [], 'changed': [], 'unreachable': []}
 
     for proj in fromKeys:
-      if not proj in toKeys:
+      if proj not in toKeys:
         diff['removed'].append(fromProjects[proj])
       else:
         fromProj = fromProjects[proj]
diff --git a/subcmds/branches.py b/subcmds/branches.py
index fb60d7d..b895884 100644
--- a/subcmds/branches.py
+++ b/subcmds/branches.py
@@ -158,7 +158,7 @@
           for b in i.projects:
             have.add(b.project)
           for p in projects:
-            if not p in have:
+            if p not in have:
               paths.append(p.relpath)
 
         s = ' %s %s' % (in_type, ', '.join(paths))
diff --git a/subcmds/sync.py b/subcmds/sync.py
index 13c419c..54b5a7f 100644
--- a/subcmds/sync.py
+++ b/subcmds/sync.py
@@ -744,7 +744,7 @@
     if not opt.quiet:
       print('Using manifest server %s' % manifest_server)
 
-    if not '@' in manifest_server:
+    if '@' not in manifest_server:
       username = None
       password = None
       if opt.manifest_server_username and opt.manifest_server_password: