Add requires-python inference to docs (#3495)

This commit is contained in:
Charlie Marsh 2023-03-13 18:14:39 -04:00 committed by GitHub
parent 1e5db58b7b
commit 62ff3b62e3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 6 deletions

View file

@ -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"]
```