sglang_v0.5.2/pytorch_2.8.0/tools/linter/adapters
hailin c8e8c1e9ff . 2025-09-20 16:09:34 +08:00
..
_linter . 2025-09-20 16:09:34 +08:00
README.md . 2025-09-20 16:09:34 +08:00
actionlint_linter.py . 2025-09-20 16:09:34 +08:00
bazel_linter.py . 2025-09-20 16:09:34 +08:00
black_linter.py . 2025-09-20 16:09:34 +08:00
clangformat_linter.py . 2025-09-20 16:09:34 +08:00
clangtidy_linter.py . 2025-09-20 16:09:34 +08:00
cmake_linter.py . 2025-09-20 16:09:34 +08:00
codespell_linter.py . 2025-09-20 16:09:34 +08:00
docstring_linter-grandfather.json . 2025-09-20 16:09:34 +08:00
docstring_linter.py . 2025-09-20 16:09:34 +08:00
exec_linter.py . 2025-09-20 16:09:34 +08:00
flake8_linter.py . 2025-09-20 16:09:34 +08:00
gha_linter.py . 2025-09-20 16:09:34 +08:00
grep_linter.py . 2025-09-20 16:09:34 +08:00
header_only_linter.py . 2025-09-20 16:09:34 +08:00
import_linter.py . 2025-09-20 16:09:34 +08:00
lintrunner_version_linter.py . 2025-09-20 16:09:34 +08:00
mypy_linter.py . 2025-09-20 16:09:34 +08:00
nativefunctions_linter.py . 2025-09-20 16:09:34 +08:00
newlines_linter.py . 2025-09-20 16:09:34 +08:00
no_merge_conflict_csv_linter.py . 2025-09-20 16:09:34 +08:00
no_workflows_on_fork.py . 2025-09-20 16:09:34 +08:00
pip_init.py . 2025-09-20 16:09:34 +08:00
pyfmt_linter.py . 2025-09-20 16:09:34 +08:00
ruff_linter.py . 2025-09-20 16:09:34 +08:00
s3_init.py . 2025-09-20 16:09:34 +08:00
s3_init_config.json . 2025-09-20 16:09:34 +08:00
set_linter.py . 2025-09-20 16:09:34 +08:00
shellcheck_linter.py . 2025-09-20 16:09:34 +08:00
test_device_bias_linter.py . 2025-09-20 16:09:34 +08:00
test_has_main_linter.py . 2025-09-20 16:09:34 +08:00
testowners_linter.py . 2025-09-20 16:09:34 +08:00
update_s3.py . 2025-09-20 16:09:34 +08:00
workflow_consistency_linter.py . 2025-09-20 16:09:34 +08:00

README.md

lintrunner adapters

These files adapt our various linters to work with lintrunner.

Adding a new linter

  1. init and linter
  2. {{DRYRUN}} and {{PATHSFILE}}
  3. never exit uncleanly
  4. Communication protocol
  5. Self-contained