pytorch/tools/linter/adapters
2024-08-22 22:44:03 +00:00
..
actionlint_linter.py
bazel_linter.py
black_linter.py
clangformat_linter.py
clangtidy_linter.py
cmake_linter.py
constexpr_linter.py
exec_linter.py
flake8_linter.py [BE][Easy] enable ruff rule PIE790: unnecessary pass statement (#133200) 2024-08-15 15:50:19 +00:00
grep_linter.py
lintrunner_version_linter.py
mypy_linter.py
nativefunctions_linter.py
newlines_linter.py
no_merge_conflict_csv_linter.py
pip_init.py
pyfmt_linter.py [ONNX] Opt into ruff fmt (#134120) 2024-08-22 22:44:03 +00:00
README.md
ruff_linter.py
s3_init.py
s3_init_config.json
shellcheck_linter.py
test_has_main_linter.py
testowners_linter.py
update_s3.py
workflow_consistency_linter.py

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