mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-25 17:58:40 +08:00
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>
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
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"]
|
||||
Reference in New Issue
Block a user