content: merge_base_with = "origin/main"
  
  [[linter]]
  code = 'FLAKE8'
  include_patterns = ['**/*.py']
  exclude_patterns = [
      'third-party/**',
  ]
  command = [
      'python',
      '-m',
      'lintrunner_adapters',
      'run',
      'flake8_linter',
      '--',
      '@{{PATHSFILE}}'
  ]
  init_command = [
      'python',
      '-m',
      'lintrunner_adapters',
      'run',
      'pip_init',
      '--dry-run={{DRYRUN}}',
      '--requirement=requirements-lintrunner.txt',
  ]
  
  # Black + usort
  [[linter]]
  code = 'UFMT'
  include_patterns = [
      '*.py',
      '*.pyi',
  ]
  exclude_patterns = [
      'third-party/**',
  ]
  command = [
      'python',
      '-m',
      'lintrunner_adapters',
      'run',
      'ufmt_linter',
      '--',
      '@{{PATHSFILE}}'
  ]
  init_command = [
      'python',
      '-m',
      'lintrunner_adapters',
      'run',
      'pip_init',
      '--dry-run={{DRYRUN}}',
      '--no-black-binary',
      '--requirement=requirements-lintrunner.txt',
  ]
  is_formatter = true
  
  #CLANGFORMAT
  [[linter]]
  code = 'CLANGFORMAT'
  include_patterns = [
      '**/*.h',
      '**/*.cpp',
  ]
  exclude_patterns = [
      'third-party/**',
  ]
  command = [
      'python',
      '-m',
      'lintrunner_adapters',
      'run',
      'clangformat_linter',
      '--binary=clang-format',
      '--fallback',
      '--',
      '@{{PATHSFILE}}'
  ]
  init_command = [
      'python',
      '-m',
      'lintrunner_adapters',
      'run',
      'pip_init',
      '--dry-run={{DRYRUN}}',
      '--requirement=requirements-lintrunner.txt',
  ]
  is_formatter = true
  
  [[linter]]
  code = 'CMAKE'
  include_patterns = [
      "**/*.cmake",
      "**/*.cmake.in",
      "**/CMakeLists.txt",
  ]
  exclude_patterns = [
      'third-party/**',
  ]
  command = [
      'python',
      '-m',
      'lintrunner_adapters',
      'run',
      'cmake_linter',
      '--config=.cmakelintrc',
      '--',
      '@{{PATHSFILE}}',
  ]
  init_command = [
      'python',
      '-m',
      'lintrunner_adapters',
      'run',
      'pip_init',
      '--dry-run={{DRYRUN}}',
      '--requirement=requirements-lintrunner.txt',
  ]
  
  [[linter]]
  code = 'NEWLINE'
  include_patterns = ['**']
  exclude_patterns = [
      'third-party/**',
      'test/resources/*.model',
  ]
  command = [
      'python',
      '-m',
      'lintrunner_adapters',
      'run',
      'newlines_linter',
      '--',
      '@{{PATHSFILE}}',
  ]
  is_formatter = true
  
  [[linter]]
  code = 'MYPY'
  include_patterns = [
      '*.py',
  ]
  exclude_patterns = [
      'third-party/**',
  ]
  command = [
      'python',
      '-m',
      'lintrunner_adapters',
      'run',
      'mypy_linter',
      '--config=.mypy.ini',
      '--show-disable',
      '--',
      '--explicit-package-bases',
      '@{{PATHSFILE}}'
  ]
  init_command = [
      'python',
      '-m',
      'lintrunner_adapters',
      'run',
      'pip_init',
      '--dry-run={{DRYRUN}}',
      '--requirement=requirements-lintrunner.txt',
  ]
  