Skip to main content

Usage: make_stub_files.py [options] file1, file2, …

Options:
-h, --help

show this help message and exit

-c FN, --config=FN

full path to configuration file

-d DIR, --dir=DIR

full path to the output directory

-o, --overwrite

overwrite existing stub (.pyi) files

-t, --test

run unit tests on startup

--trace-matches

trace Pattern.matches

--trace-patterns

trace pattern creation

--trace-reduce

trace st.reduce_types

--trace-visitors

trace visitor methods

-u, --update

update stubs in existing stub file

-v, --verbose

verbose output in .pyi file

-w, --warn

warn about unannotated args

Release history Release notifications | RSS feed

This release

0.1 This release

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page