code: def lint_tab_usage(self, snakefile, regex=re.compile(r"^ *\t")):
      for match in regex.finditer(snakefile):
          line = get_line(match, snakefile)
          yield Lint(
              title=f"Tab usage in line {line}.",
              body="Both Python and Snakemake can get confused when mixing tabs and spaces for indentation. "
              "It is recommended to only use spaces for indentation.",
          )
  
file_path: snakemake/snakemake/linting/snakefiles.py
imports: import re
  from itertools import chain
  from snakemake.linting import Linter, Lint, links, NAME_PATTERN
label_desc: Use image node_id 9 for calling the SnakefileLinter obj's underlying member method code with example usage: obj.lint_tab_usage(snakefile, regex) without return types