mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-04 02:38:25 +00:00
Add requires-python
inference to docs (#3495)
This commit is contained in:
parent
1e5db58b7b
commit
62ff3b62e3
3 changed files with 10 additions and 6 deletions
|
@ -93,11 +93,13 @@ For a full enumeration of the supported settings, see [_Settings_](settings.md).
|
|||
specifically, we'll want to make note of the minimum supported Python version:
|
||||
|
||||
```toml
|
||||
[project]
|
||||
# Support Python 3.10+.
|
||||
requires-python = ">=3.10"
|
||||
|
||||
[tool.ruff]
|
||||
# Decrease the maximum line length to 79 characters.
|
||||
line-length = 79
|
||||
# Support Python 3.10+.
|
||||
target-version = "py310"
|
||||
src = ["src"]
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue