Document policy for future Python versions#12592
Conversation
AlexWaygood
left a comment
There was a problem hiding this comment.
We could also consider adding an AST-based lint to check_typeshed_structure.py enforcing this (but that doesn't have to be done in this PR). I don't think such a lint would be a good fit for flake8-pyi since it would be enforcing a typeshed-specific policy
I'd prefer to not add any such lint checks directly to typeshed, and leave those to tools that are good at linting. In flake8-pyi we could add a configuration option like |
Closes: #12569