mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-03 18:28:24 +00:00
Update broken links in the documentation (#12677)
## Summary Running `mkdocs server -f mkdocs.insiders.yml` gave warnings about these broken links. ## Test plan I built the docs locally and verified that the updated links work properly.
This commit is contained in:
parent
2c79045342
commit
82e69ebf23
4 changed files with 12 additions and 10 deletions
|
@ -381,7 +381,7 @@ You can also change the default selection using the [`include`](settings.md#incl
|
|||
Ruff has built-in support for [Jupyter Notebooks](https://jupyter.org/).
|
||||
|
||||
!!! info
|
||||
Notebooks are linted and formatted by default when using [preview mode](preview).
|
||||
Notebooks are linted and formatted by default when using [preview mode](preview.md).
|
||||
You can opt-out of notebook linting and formatting by adding `*.ipynb` to [`extend-exclude`](settings.md#extend-exclude).
|
||||
|
||||
To opt in to linting and formatting Jupyter Notebook (`.ipynb`) files, add the `*.ipynb` pattern to
|
||||
|
|
|
@ -235,9 +235,8 @@ You may use prefixes to select rules as well, e.g., `F` can be used to promote f
|
|||
|
||||
### Disabling fixes
|
||||
|
||||
To limit the set of rules that Ruff should fix, use the [`lint.fixable`](settings.md#lint_fixable) and
|
||||
[`lint.unfixable`](settings.md#lint_unfixable) settings, along with their [`lint.extend-fixable`](settings.md#lint_extend-fixable)
|
||||
and [`lint.extend-unfixable`](settings.md#lint_extend-unfixable) variants.
|
||||
To limit the set of rules that Ruff should fix, use the [`lint.fixable`](settings.md#lint_fixable)
|
||||
or [`lint.extend-fixable`](settings.md#lint_extend-fixable), and [`lint.unfixable`](settings.md#lint_unfixable) settings.
|
||||
|
||||
For example, the following configuration would enable fixes for all rules except
|
||||
[`unused-imports`](rules/unused-import.md) (`F401`):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue