## Summary We're planning to move the documentation from [https://beta.ruff.rs/docs](https://beta.ruff.rs/docs) to [https://docs.astral.sh/ruff](https://docs.astral.sh/ruff), for a few reasons: 1. We want to remove the `beta` from the domain, as Ruff is no longer considered beta software. 2. We want to migrate to a structure that could accommodate multiple future tools living under one domain. The docs are actually already live at [https://docs.astral.sh/ruff](https://docs.astral.sh/ruff), but later today, I'll add a permanent redirect from the previous to the new domain. **All existing links will continue to work, now and in perpetuity.** This PR contains the code changes necessary for the updated documentation. As part of this effort, I moved the playground and documentation from my personal Cloudflare account to our team Cloudflare account (hence the new `--project-name` references). After merging, I'll also update the secrets on this repo.
54 lines
949 B
Plaintext
54 lines
949 B
Plaintext
---
|
|
source: crates/ruff_cli/tests/integration_test.rs
|
|
info:
|
|
program: ruff
|
|
args:
|
|
- "-"
|
|
- "--isolated"
|
|
- "--no-cache"
|
|
- "--format"
|
|
- json
|
|
- "--stdin-filename"
|
|
- F401.py
|
|
stdin: "import os\n"
|
|
---
|
|
success: false
|
|
exit_code: 1
|
|
----- stdout -----
|
|
[
|
|
{
|
|
"code": "F401",
|
|
"end_location": {
|
|
"column": 10,
|
|
"row": 1
|
|
},
|
|
"filename": "/path/to/F401.py",
|
|
"fix": {
|
|
"applicability": "Automatic",
|
|
"edits": [
|
|
{
|
|
"content": "",
|
|
"end_location": {
|
|
"column": 1,
|
|
"row": 2
|
|
},
|
|
"location": {
|
|
"column": 1,
|
|
"row": 1
|
|
}
|
|
}
|
|
],
|
|
"message": "Remove unused import: `os`"
|
|
},
|
|
"location": {
|
|
"column": 8,
|
|
"row": 1
|
|
},
|
|
"message": "`os` imported but unused",
|
|
"noqa_row": 1,
|
|
"url": "https://docs.astral.sh/ruff/rules/unused-import"
|
|
}
|
|
]
|
|
----- stderr -----
|
|
|