Star123
32
CodeIntroduction
Code
Issues
Pull Requests1
Pipeline
Actions
Discussion
Wiki
Members5
Analysis
Settings
Star123
32
  1. pytorch
  2. /
  3. tools
  4. /
  5. linter
  6. /
  7. adapters
PPyTorch MergeBot[Testcase Refactoring] Classify test/test_tensor_creation_ops.py for the test-case linter (#206211)
512506a8Add on 1 day agoHistory
FilesLast commitLast update
_linter
README.md
REVIEW.md
_stable_shim_utils.py
actionlint_linter.py
clangformat_linter.py
clangtidy_linter.py
cmake_linter.py
cmake_minimum_required_linter.py
codespell_linter.py
cpython_diff_sync_linter.py
docstring_linter-grandfather.json
docstring_linter.py
exec_linter.py
flake8_linter.py
gb_registry_linter.py
generated_shims_version_linter.py
gha_linter.py
grep_linter.py
header_only_linter.py
import_linter.py
license_files_linter.py
lintrunner_version_linter.py
mypy_linter.py
nativefunctions_linter.py
newlines_linter.py
no_merge_conflict_csv_linter.py
no_workflows_on_fork.py
pyfmt_linter.py
pyproject_linter.py
pyrefly_linter.py
pytorch_labels.json
raw_throw_linter.py
raw_vt_construction_linter.py
ruff_linter.py
s3_init.py
s3_init_config.json
scoped_library_linter.py
set_linter.py
shellcheck_linter.py
stable_shim_usage_linter.py
stable_shim_version_linter.py
test_device_bias_linter.py
test_has_main_linter.py
test_linter.py
test_linter_allowlist.json
testowners_linter.py
unspecified_backend_linter.py
update_s3.py
workflow_consistency_linter.py
workflow_duplicate_jobs_linter.py
README

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