mirror of https://github.com/astral-sh/ruff
Mention preview mode
Co-authored-by: Avasam <samuel.06@hotmail.com>
This commit is contained in:
parent
72839b8eff
commit
6efce52e0f
|
|
@ -351,7 +351,8 @@ For example, without `force-exclude` enabled, `ruff check /path/to/excluded/file
|
|||
|
||||
### Default inclusions
|
||||
|
||||
By default, Ruff will discover files matching `*.py`, `*.pyi`, `*.pyw`, `*.ipynb`, or `pyproject.toml`.
|
||||
By default, Ruff will discover files matching `*.py`, `*.pyi`, `*.ipynb`, or `pyproject.toml`.
|
||||
In [preview](preview.md) mode, Ruff will also discover `*.pyw` by default.
|
||||
|
||||
To lint or format files with additional file extensions, use the [`extend-include`](settings.md#extend-include) setting.
|
||||
You can also change the default selection using the [`include`](settings.md#include) setting.
|
||||
|
|
|
|||
Loading…
Reference in New Issue