Files
typeshed/stubs/uWSGI/METADATA.toml
David Salvisberg 21cb2cb546 Adds stubs for uWSGI (#10432)
This adds stubs for the uWSGI Python API.

Similarly to GDB the Python API is only accessible within a uWSGI process, some parts of the API also only exist if certain configuration options are enabled. This makes running stubtest a bit of pain.

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: Akuli <akuviljanen17@gmail.com>
2023-07-24 14:32:52 +03:00

16 lines
576 B
TOML

version = "2.0.*"
upstream_repository = "https://github.com/unbit/uwsgi"
extra_description = """\
Type hints for uWSGI's \
[Python API](https://uwsgi-docs.readthedocs.io/en/latest/PythonModule.html). \
Note that this API is available only when running Python code inside a uWSGI process \
and some parts of the API are only present when corresponding configuration options \
have been enabled.
"""
[tool.stubtest]
# Run stubtest on MacOS as well, to check that the
# uWSGI-specific parts of stubtest_third_party.py
# also work there
platforms = ["linux", "darwin"]