Static analysis
4 tools
| Tool | Kind | Command | Runs in | Found in |
|---|---|---|---|---|
actionlint |
CI workflow linting | pre-commit hook actionlint |
pre-commit | .pre-commit-config.yaml |
mypy |
Type checking | mypy --num-workers 4 --config-file $EXPR/mypy.ini |
ci | .github/workflows/mypy.yml Lib/_pyrepl/mypy.ini Lib/test/libregrtest/mypy.ini Lib/tomllib/mypy.ini |
ruff-check |
Linting | pre-commit hook ruff-check |
pre-commit | .pre-commit-config.yaml .ruff.toml Doc/.ruff.toml Lib/.ruff.toml |
zizmor |
CI workflow linting | pre-commit hook zizmor |
pre-commit | .pre-commit-config.yaml |
Testing
2 tools
| Tool | Kind | Command | Runs in | Found in |
|---|---|---|---|---|
ci-matrix |
Version and platform matrix | mypy (target: 9) |
ci | .github/workflows/mypy.yml |
playwrightconfigured, not run |
End-to-end browser tests | Platforms/emscripten/browser_test/playwright.config.ts |
Formatting and hygiene
3 tools
| Tool | Kind | Command | Runs in | Found in |
|---|---|---|---|---|
black |
Formatting | pre-commit hook black |
pre-commit | .pre-commit-config.yaml |
pre-commit-hooks |
File hygiene | pre-commit hook check-case-conflictpre-commit hook check-merge-conflictpre-commit hook check-toml |
pre-commit | .pre-commit-config.yaml |
ruff-format |
Formatting | pre-commit hook ruff-format |
pre-commit | .pre-commit-config.yaml |
22 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.
done < exclude_tests.txtepubcheck Doc/build/epub/Python.epub &> Doc/epubcheck.txtpre-commit hook check-dependabotpre-commit hook check-github-workflowspre-commit hook check-readthedocspre-commit hook remove-tabspre-commit hook sphinx-lintpython Doc/tools/check-epub.pypython Doc/tools/check-html-ids.py -v check /tmp/html-ids-base.json.gz /tmp/html-ids-head.json.gz $([ -f Doc/tools/re...python Doc/tools/check-html-ids.py collect /tmp/merge-base/Doc/build/html -o /tmp/html-ids-base.json.gzpython Doc/tools/check-html-ids.py collect Doc/build/html -o Doc/build/html-ids-head.json.gzpython Doc/tools/check-warnings.py --annotate-diff ${branch_base} ${branch_pr} --fail-if-regression --fail-if-improve...python Tools/build/check_capi_macros.pypython Tools/build/check_warnings.py --compiler-output-file-path=${CPYTHON_BUILDDIR}/compiler_output_ubuntu.txt --war...python Tools/build/check_warnings.py --compiler-output-file-path=compiler_output_macos.txt --warning-ignore-file-path...python Tools/check-c-api-docs/main.pypython Tools/ssl/multissltests.py --steps=library --base-directory $MULTISSL_DIR --$EXPR $EXPR --system Linuxpython Tools/ssl/multissltests.py --steps=library --base-directory $MULTISSL_DIR --openssl $OPENSSL_VER --system Linuxpython Tools/ssl/multissltests.py --steps=library --base-directory=${MULTISSL_DIR} --openssl=${OPENSSL_VER} --system=...python tools/check-html-ids.py collect build/html -o build/html/html-ids.json.gzshow --format=%at --no-patch $OLDEST)test.pythoninfo
Review prompts
most discussed first