Document `*.pyw` is included by default

This commit is contained in:
Avasam 2025-12-09 23:06:29 -05:00 committed by GitHub
parent aaadf16b1b
commit 72839b8eff
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -351,7 +351,7 @@ For example, without `force-exclude` enabled, `ruff check /path/to/excluded/file
### Default inclusions
By default, Ruff will discover files matching `*.py`, `*.pyi`, `*.ipynb`, or `pyproject.toml`.
By default, Ruff will discover files matching `*.py`, `*.pyi`, `*.pyw`, `*.ipynb`, or `pyproject.toml`.
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.