Awesome Reviewers checks + prompts

sources / pytorch/pytorch

pytorch/pytorch

The checks this repository runs, scanned at c382bd8, and the review prompts derived from its discussions.

8 recognised tools
32 prompts
91345 stars
ML Frameworks & Platforms
GitHub

Static analysis

3 tools

ToolKindCommandRuns inFound in
flake8
configured, not run
Linting .flake8
mypy
configured, not run
Type checking mypy.ini
ruff-check
configured, not run
Linting pyproject.toml

Testing

3 tools

ToolKindCommandRuns inFound in
hypothesis Property-based tests pyproject.toml
unittest Unit and integration tests unittest discover -s scripts/issue_triage_pi -v ci .github/workflows/distributed-triage-pi.yml
pytest
configured, not run
Unit and integration tests pytest.ini
ToolKindCommandRuns inFound in
codespell
configured, not run
Spelling pyproject.toml
isort
configured, not run
Formatting pyproject.toml
28 other commands the scanner could not classify

Commands from CI steps and task runners that look like checks but match no known tool. Some are checks, some are not.

  • Generated by apply-lint bot, see ${GH_RUN_URL}"
  • SECONDS + 60 * 60 ))
  • auditwheel repair --plat ${PLATFORM} --exclude libtriton.so ${RUNNER_TEMP}/artifacts/*.whl -w ${RUNNER_TEMP}/artifact...
  • bash ${RUNNER_TEMP}/linter_script
  • bash .ci/pytorch/binary_linux_test.sh
  • convert $(SPHINXPROJ).docset/icon@2x.png -resize 16x16 $(SPHINXPROJ).docset/icon.png
  • doc2dash --name $(SPHINXPROJ) --icon $(SOURCEDIR)/_static/img/pytorch-logo-flame.png --enable-js --online-redirect-ur...
  • done < $SCAN
  • elif [[ ${REF_TYPE} == tag
  • inspect the test artifacts for details."
  • lintrunner
  • lintrunner --all-files
  • lintrunner --apply-patches
  • lintrunner -a --take $LINTERS -m origin/${BASE_BRANCH} 2>/dev/null
  • lintrunner init
  • lintrunner init --take $LINTERS
  • node test/profiler/test_memory_viz.js
  • python .ci/libtorch/smoke_test_extract_libtorch.py --output-dir ${GITHUB_WORKSPACE}/libtorch_output
  • python .ci/pytorch/smoke_test/smoke_test.py --package torchonly
  • python .github/scripts/trymerge.py --check-mergeability ${PR_NUM}
  • python test/bench_mps_ops.py
  • quote_names < $SCAN
  • scan_escaping > $SCAN
  • sha256sum requirements.txt pyproject.toml .lintrunner.toml > .lintbin/.lintrunner.sha256
  • trap rm -f "$SCAN" "${UTIL_ERR:-}" EXIT
  • type == number)) as $e (.
  • type == number)) as $f ($acc
  • while [ $SECONDS -lt $END_WAIT ]

full scan as JSON

Review prompts

most discussed first

  • pytorch/pytorch AI Python ml-systems
    raw open
  • pytorch/pytorch AI C++ ml-systems
    raw open
  • pytorch/pytorch API Python ml-systems
    raw open
  • pytorch/pytorch Error Handling Python ml-systems
    raw open
  • pytorch/pytorch Null Handling Python ml-systems
    raw open
  • pytorch/pytorch Algorithms Python ml-systems
    raw open
  • pytorch/pytorch Error Handling C++ ml-systems
    raw open
  • pytorch/pytorch Configurations Python ml-systems
    raw open
  • pytorch/pytorch API C++ ml-systems
    raw open
  • pytorch/pytorch Performance Optimization C++ ml-systems
    raw open
  • pytorch/pytorch Performance Optimization Python ml-systems
    raw open
  • pytorch/pytorch Pytorch Python ml-systems
    raw open
  • pytorch/pytorch Testing Python ml-systems
    raw open
  • pytorch/pytorch Configurations Txt ml-systems
    raw open
  • pytorch/pytorch Naming Conventions Python ml-systems
    raw open
  • pytorch/pytorch Code Style C++ ml-systems
    raw open
  • pytorch/pytorch Concurrency Python ml-systems
    raw open
  • pytorch/pytorch Code Style Python ml-systems
    raw open
  • pytorch/pytorch Code Style Other ml-systems
    raw open
  • pytorch/pytorch Configurations Other ml-systems
    raw open
  • pytorch/pytorch Configurations Toml ml-systems
    raw open
  • pytorch/pytorch CI/CD Yaml ml-systems
    raw open
  • pytorch/pytorch API Other ml-systems
    raw open
  • pytorch/pytorch AI Other ml-systems
    raw open
  • pytorch/pytorch Pytorch C++ ml-systems
    raw open
  • pytorch/pytorch Naming Conventions C++ ml-systems
    raw open
  • pytorch/pytorch Configurations Shell ml-systems
    raw open
  • pytorch/pytorch Algorithms Other ml-systems
    raw open
  • pytorch/pytorch Algorithms C++ ml-systems
    raw open
  • pytorch/pytorch Performance Optimization Other ml-systems
    raw open
  • pytorch/pytorch Null Handling C++ ml-systems
    raw open
  • pytorch/pytorch Null Handling Other ml-systems
    raw open