-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
breakingBreaking API changeBreaking API changeconfigurationRelated to settings and configurationRelated to settings and configuration
Milestone
Description
I tried to use anext and aiter in a project configured with requires-python = "~=3.10", but Ruff still complaining
F821 Undefined name `anext`. Consider specifying `requires-python = ">= 3.10"` or `tool.ruff.target-version = "py310"` in your `pyproject.toml` file.
|
8 | async def main():
9 | print(anext(g()))
| ^^^^^ F821
|
Here is a reproduction repository:
See these workflow logs:
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
breakingBreaking API changeBreaking API changeconfigurationRelated to settings and configurationRelated to settings and configuration