mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-16 08:47:39 +08:00
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>
16 lines
576 B
TOML
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"]
|