pytorch/tools/linter/adapters
2022-06-02 20:50:57 +00:00
..
actionlint_linter.py Run Black on all of tools/ 2022-04-20 17:29:41 +00:00
black_linter.py Add black linter 2022-04-26 02:01:32 +00:00
circleci_linter.py Run Black on all of tools/ 2022-04-20 17:29:41 +00:00
clangformat_linter.py [lint] fix spurious annotations on formatting linters 2022-04-16 04:05:30 +00:00
clangtidy_linter.py chore: remove git.io 2022-04-27 23:02:45 +00:00
cmake_linter.py [lint] add cmakelint to lintrunner (#68191) 2021-11-11 12:19:01 -08:00
exec_linter.py [lint] add test ownership lint to lintrunner 2022-04-15 20:20:40 +00:00
flake8_linter.py Run Black on all of tools/ 2022-04-20 17:29:41 +00:00
grep_linter.py [lint] make grep_linter.py portable 2022-05-07 00:33:53 +00:00
mypy_linter.py chore: remove git.io 2022-04-27 23:02:45 +00:00
nativefunctions_linter.py Run Black on all of tools/ 2022-04-20 17:29:41 +00:00
newlines_linter.py Python Interface for Jiterator 2022-05-06 18:44:28 +00:00
pip_init.py Add option to skip binaries when doing pip install for lintrunner (#78668) 2022-06-02 20:50:57 +00:00
README.md
s3_init_config.json [lint] add actionlint to lintrunner 2022-04-15 04:03:54 +00:00
s3_init.py Make s3_init linter adapter work in abscense of git (#77466) 2022-05-14 00:23:36 +00:00
shellcheck_linter.py [lint] add shellcheck to lintrunner 2022-04-15 04:03:54 +00:00
testowners_linter.py [lint] add test ownership lint to lintrunner 2022-04-15 20:20:40 +00:00
update_s3.py [lint] lintrunner fixes/improvements (#68292) 2021-11-15 11:08:26 -08:00

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