mirror of
https://github.com/python/cpython.git
synced 2025-12-23 09:19:18 +00:00
Some checks are pending
Tests / Change detection (push) Waiting to run
Tests / Docs (push) Blocked by required conditions
Tests / Check if Autoconf files are up to date (push) Blocked by required conditions
Tests / Check if generated files are up to date (push) Blocked by required conditions
Tests / (push) Blocked by required conditions
Tests / Windows MSI (push) Blocked by required conditions
Tests / Ubuntu SSL tests with OpenSSL (push) Blocked by required conditions
Tests / Ubuntu SSL tests with AWS-LC (push) Blocked by required conditions
Tests / Android (aarch64) (push) Blocked by required conditions
Tests / Android (x86_64) (push) Blocked by required conditions
Tests / WASI (push) Blocked by required conditions
Tests / Hypothesis tests on Ubuntu (push) Blocked by required conditions
Tests / Address sanitizer (push) Blocked by required conditions
Tests / Sanitizers (push) Blocked by required conditions
Tests / Cross build Linux (push) Blocked by required conditions
Tests / CIFuzz (push) Blocked by required conditions
Tests / All required checks pass (push) Blocked by required conditions
Lint / lint (push) Waiting to run
mypy / Run mypy on Lib/_pyrepl (push) Waiting to run
mypy / Run mypy on Lib/test/libregrtest (push) Waiting to run
mypy / Run mypy on Lib/tomllib (push) Waiting to run
mypy / Run mypy on Tools/build (push) Waiting to run
mypy / Run mypy on Tools/cases_generator (push) Waiting to run
mypy / Run mypy on Tools/clinic (push) Waiting to run
mypy / Run mypy on Tools/jit (push) Waiting to run
mypy / Run mypy on Tools/peg_generator (push) Waiting to run
This is now handled upstream in the dev container image itself.
83 lines
2.8 KiB
JSON
83 lines
2.8 KiB
JSON
{
|
|
"image": "ghcr.io/python/devcontainer:latest",
|
|
"onCreateCommand": [
|
|
// Install common tooling.
|
|
"dnf",
|
|
"install",
|
|
"-y",
|
|
// For umask fix below.
|
|
"/usr/bin/setfacl"
|
|
],
|
|
"updateContentCommand": {
|
|
// Using the shell for `nproc` usage.
|
|
"python": "./configure --config-cache --with-pydebug && make -s -j `nproc`",
|
|
"docs": [
|
|
"make",
|
|
"--directory",
|
|
"Doc",
|
|
"venv",
|
|
"html"
|
|
]
|
|
},
|
|
"postCreateCommand": {
|
|
// https://github.com/orgs/community/discussions/26026
|
|
"umask fix: workspace": ["sudo", "setfacl", "-bnR", "."],
|
|
"umask fix: /tmp": ["sudo", "setfacl", "-bnR", "/tmp"]
|
|
},
|
|
"customizations": {
|
|
"vscode": {
|
|
"extensions": [
|
|
// Highlighting for Parser/Python.asdl.
|
|
"brettcannon.zephyr-asdl",
|
|
// Highlighting for configure.ac.
|
|
"maelvalais.autoconf",
|
|
// C auto-complete.
|
|
"ms-vscode.cpptools",
|
|
// To view HTML build of docs.
|
|
"ms-vscode.live-server",
|
|
// Python auto-complete.
|
|
"ms-python.python"
|
|
],
|
|
"settings": {
|
|
"C_Cpp.default.compilerPath": "/usr/bin/clang",
|
|
"C_Cpp.default.cStandard": "c11",
|
|
"C_Cpp.default.defines": [
|
|
"CONFIG_64",
|
|
"Py_BUILD_CORE"
|
|
],
|
|
"C_Cpp.default.includePath": [
|
|
"${workspaceFolder}/*",
|
|
"${workspaceFolder}/Include/**"
|
|
],
|
|
// https://github.com/microsoft/vscode-cpptools/issues/10732
|
|
"C_Cpp.errorSquiggles": "disabled",
|
|
"editor.insertSpaces": true,
|
|
"editor.rulers": [
|
|
80
|
|
],
|
|
"editor.tabSize": 4,
|
|
"editor.trimAutoWhitespace": true,
|
|
"files.associations": {
|
|
"*.h": "c"
|
|
},
|
|
"files.encoding": "utf8",
|
|
"files.eol": "\n",
|
|
"files.insertFinalNewline": true,
|
|
"files.trimTrailingWhitespace": true,
|
|
"python.analysis.diagnosticSeverityOverrides": {
|
|
// Complains about shadowing the stdlib w/ the stdlib.
|
|
"reportShadowedImports": "none",
|
|
// Doesn't like _frozen_importlib.
|
|
"reportMissingImports": "none"
|
|
},
|
|
"python.analysis.extraPaths": [
|
|
"Lib"
|
|
],
|
|
"python.defaultInterpreterPath": "./python",
|
|
"[restructuredtext]": {
|
|
"editor.tabSize": 3
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|