code: def update_whitelist():
      """Add files to the whitelist"""
      global whitelist_pep8
      # We don't want to test RL-attack because it has so many dependencies
      # not used elsewhere, and pylint wants to import them all
      whitelist_pep8.extend(
          [
              os.path.relpath(path, cleverhans.__path__[0])
              for path in all_py_files
              if "RL-attack" in path
          ]
      )
      # Similarly, we don't want to require robust_vision_benchmark installed
      whitelist_pep8.extend(
          [
              os.path.relpath(path, cleverhans.__path__[0])
              for path in all_py_files
              if "robust_vision_benchmark" in path
          ]
      )
      # Similarly, we don't want to require that cloud be installed
      whitelist_pep8.extend(
          [
              os.path.relpath(path, cleverhans.__path__[0])
              for path in all_py_files
              if "cloud_client" in path
          ]
      )
      # This example has more dependencies too
      whitelist_pep8.extend(
          [
              os.path.relpath(path, cleverhans.__path__[0])
              for path in all_py_files
              if "facenet_adversarial_faces" in path
          ]
      )
      # This too
      whitelist_pep8.extend(
          [
              os.path.relpath(path, cleverhans.__path__[0])
              for path in all_py_files
              if "madry_lab_challenges" in path
          ]
      )
      # This code is no longer compatible with new versions of cleverhans / scipy and will be removed soon
      whitelist_pep8.extend(
          [
              os.path.relpath(path, cleverhans.__path__[0])
              for path in all_py_files
              if "nips17_adversarial_competition" in path
          ]
      )
  
file_path: cleverhans/cleverhans_v3.1.0/cleverhans/devtools/tests/test_format.py
imports: from __future__ import print_function
  import os
  import subprocess
  import cleverhans
  from cleverhans.devtools.list_files import list_files
  from cleverhans.utils import shell_call
label_desc: Use image node_id 1 for calling a global function with example usage: update_whitelist() without return types