You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The option is called `--inspect-mode`, not `--inspect`
It used to be:
```
» stubgen --help
usage: stubgen [-h] [more options, see -h]
[-m MODULE] [-p PACKAGE] [files ...]
Generate draft stubs for modules. Stubs are generated in directory ./out, to avoid
overriding files with manual changes. This directory is assumed to exist.
positional arguments:
files generate stubs for given files or directories
options:
--no-analysis, --parse-only
don't perform semantic analysis of sources, just parse them (only
applies to Python modules, might affect quality of stubs. Not
compatible with --inspect)
--inspect-mode import and inspect modules instead of parsing source code.This is
the default behavior for c modules and pyc-only packages, but it
is also useful for pure python modules with dynamically generated
members.
```
0 commit comments