You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Produces error: stdlib/distutils/command/register.pyi (3.11): ParseError: Default value for SCHEME_KEYS: typing.Final can only be '...' or a literal constant, got (LITERAL('purelib'), LITERAL('platlib'), LITERAL('headers'), LITERAL('scripts'), LITERAL('data'))
This is supported by mypy, pyright, and flake8-pyi .
The text was updated successfully, but these errors were encountered:
Avasam
changed the title
Feature request: Support literal tuple syntax for Final tuple
Feature request: Support literal tuple syntax for Final tuple in stubs
Aug 17, 2024
From python/typeshed@3bc7f60#diff-d1e77cc82cda219b4f7da638c57380483554bd836b0582eface5aab66c6ac699 (action results: https://github.com/python/typeshed/actions/runs/10434646856/job/28897746023?pr=12454)
The following:
Produces error:
stdlib/distutils/command/register.pyi (3.11): ParseError: Default value for SCHEME_KEYS: typing.Final can only be '...' or a literal constant, got (LITERAL('purelib'), LITERAL('platlib'), LITERAL('headers'), LITERAL('scripts'), LITERAL('data'))
This is supported by mypy, pyright, and flake8-pyi .
The text was updated successfully, but these errors were encountered: