schemaVersion | version | Yes | | The version of this document's schema that this document was written under -- granted by the meta-schema to every definition named in metadata.documentRoots, never declared |
|---|
core | coordinate | Yes | | The coordinate of the language core this adapter configures, <category>:<name> -- language:python-core. Resolved the way the adapter's own coordinate is, through the same catalogs: the repository's own source, a build, or a release. |
|---|
testDirectories | set[glob] | No | [] | The directories tests are kept in, as globs: rooted at the module root when one opens with /, a directory of that name at any depth when it does not. Everything beneath one is test code. |
|---|
testFilePatterns | set[glob] | No | [] | The files a test runner collects where the repository tells its runner nothing, as globs: test_*.py, a lone name, is a file of that name at any depth. A core that can read the repository's own statement to its runner answers with that instead, and adds the names the runner loads for its tests. |
|---|
tierDirectory | string | No | | How a tier's directory is spelled directly inside a test directory, with {tier} standing for the tier's name: __{tier}__ spells integration as __integration__. A directory spelled otherwise names no tier. Absent, no directory names one. |
|---|
nonSourcePatterns | set[glob] | No | [] | What a walk of a repository's trees passes over, as globs: a compiler's cache, an environment installed into the tree, a dependency tree fetched into it, the directory a build writes into. |
|---|
gitignoreRules | list[DeclaredGitignoreRule] | No | [] | What a checkout holds because of the language and its tools, and nobody writes by hand, each with the reason it is ignored. |
|---|
commands | dict[enum, DeclaredCommand] one of build, test, lint, format, typecheck, sync | No | {} | The command line each verb runs, keyed by the contract's method name: lint, format, typecheck, sync, and test or build where a plain command line is the whole of one. A verb declared here is rendered from the declaration. test and build left undeclared are the core's, since what they pass is worked out at run time; any other verb left undeclared is one this adapter does not support. A key that is no verb of the contract is refused where the document loads. |
|---|