code: def handle_function(name, member):
      if is_accepted(name, member) or member_too_small(member):
          # We don't need to check this one.
          return
      doc = member.__doc__
      if doc is None:
          raise ValueError(
              "{} function doesn't have any documentation".format(
                  str(member)
              ),
              member.__module__,
              inspect.getmodule(member).__file__,
          )
  
      args = list(
          filter(
              lambda k: k != "self",
              inspect.signature(member).parameters.keys(),
          )
      )
      assert_function_style(name, member, doc, args)
      assert_args_presence(args, doc, member, name)
      assert_doc_style(name, member, doc, args)
  
file_path: baal/tests/documentation_test.py
imports: import importlib
  import inspect
  import re
  import sys
  from itertools import compress
  import pytest
label_desc: Use image node_id 3 for calling a global function with example usage: handle_function(name, member) without return types