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 stubgen --output doesn't generate package directories named as mandated by PEP-561/the typing docs.
PEP-561 states that "The name of the stub package MUST follow the scheme foopkg-stubs for type stubs for the package named foopkg."
To Reproduce and Actual Behavior
currently the packages in are placed into subdirectories named like the package.
so for a package foobar, the stubs currently are generated into a out/foopkg directory, where out is the default for the --output parameter to stubgen, like so:
$ stubgen --inspect-mode --ignore-errors --package mypy... lots of output
$ find out -type dout/out/mypyout/mypy/serverout/mypy/pluginsout/mypy/dmypy
Expected Behavior
the output should instead have a -stubs suffix to the üpackage name, out/foopkg-stubs, like so:
$ stubgen --inspect-mode --ignore-errors --package mypy... lots of output
$ find out -type dout/out/mypy-stubsout/mypy-stubs/serverout/mypy-stubs/pluginsout/mypy-stubs/dmypy
Bug Report
the stubgen
--output
doesn't generate package directories named as mandated by PEP-561/the typing docs.PEP-561 states that "The name of the stub package MUST follow the scheme
foopkg-stubs
for type stubs for the package namedfoopkg
."To Reproduce and Actual Behavior
currently the packages in are placed into subdirectories named like the package.
so for a package foobar, the stubs currently are generated into a
out/foopkg
directory, whereout
is the default for the--output
parameter to stubgen, like so:Expected Behavior
the output should instead have a -stubs suffix to the üpackage name,
out/foopkg-stubs
, like so:Your Environment
The text was updated successfully, but these errors were encountered: