8000 Inline `decorator` stubs from typeshed · Issue #173 · micheles/decorator · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
8000
Inline decorator stubs from typeshed #173
Open
@MarcoGorelli

Description

@MarcoGorelli

Hi - would you be open to including the stubs from typeshed inline in decorator?

They're here: https://github.com/python/typeshed/blob/main/stubs/decorator/decorator.pyi, and are quite simple

Advantages of inlining stubs are:

  • ensure that they remain up-to-date
  • simpler user-experience (just pip install ujson gives people code + annotations without needing to install stubs)

Similar issue and PR in ujson, where they accepted a PR to inline stubs

Would you also be open to this? Happy to make a PR if so

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0