mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-04 18:58:26 +00:00
update schema
This commit is contained in:
parent
f086554510
commit
920619f0c4
3 changed files with 9 additions and 1 deletions
1
crates/ty/docs/cli.md
generated
1
crates/ty/docs/cli.md
generated
|
@ -62,6 +62,7 @@ over all configuration files.</p>
|
|||
<ul>
|
||||
<li><code>full</code>: Print diagnostics verbosely, with context and helpful hints [default]</li>
|
||||
<li><code>concise</code>: Print diagnostics concisely, one per line</li>
|
||||
<li><code>azure</code>: Print diagnostics in the format used for Azure Pipelines</li>
|
||||
</ul></dd><dt id="ty-check--project"><a href="#ty-check--project"><code>--project</code></a> <i>project</i></dt><dd><p>Run the command within the given project directory.</p>
|
||||
<p>All <code>pyproject.toml</code> files will be discovered by walking up the directory tree from the given project directory, as will the project's virtual environment (<code>.venv</code>) unless the <code>venv-path</code> option is set.</p>
|
||||
<p>Other command-line arguments (such as relative paths) will be resolved relative to the current working directory.</p>
|
||||
|
|
2
crates/ty/docs/configuration.md
generated
2
crates/ty/docs/configuration.md
generated
|
@ -474,7 +474,7 @@ Defaults to `full`.
|
|||
|
||||
**Default value**: `full`
|
||||
|
||||
**Type**: `full | concise`
|
||||
**Type**: `full | concise | azure`
|
||||
|
||||
**Example usage** (`pyproject.toml`):
|
||||
|
||||
|
|
7
ty.schema.json
generated
7
ty.schema.json
generated
|
@ -74,6 +74,13 @@
|
|||
"enum": [
|
||||
"concise"
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "Print diagnostics in the [Azure Pipelines] format.\n\n[Azure Pipelines]: https://learn.microsoft.com/en-us/azure/devops/pipelines/scripts/logging-commands?view=azure-devops&tabs=bash#logissue-log-an-error-or-warning",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"azure"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue