File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ clangcompile:
2929
3030# Auto generation of CPP binding stub files
3131stubgen :
32- pybind11-stubgen -o python --numpy-array-use-type-var rcs
32+ pybind11-stubgen -o python --numpy-array-use-type-var --sort-by topological rcs
3333 find ./python -name ' *.pyi' -print | xargs sed -i ' 1s/^/# ATTENTION: auto generated from C++ code, use `make stubgen` to update!\n/'
3434 find ./python -not -path " ./python/rcs/_core/*" -name ' *.pyi' -delete
3535 find ./python/rcs/_core -name ' *.pyi' -print | xargs sed -i ' s/tuple\[typing\.Literal\[\([0-9]\+\)\], typing\.Literal\[1\]\]/tuple\[typing\.Literal[\1]\]/g'
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ clangcompile:
2222
2323# Auto generation of CPP binding stub files
2424stubgen :
25- pybind11-stubgen -o src --numpy-array-use-type-var rcs_fr3
25+ pybind11-stubgen -o src --numpy-array-use-type-var --sort-by topological rcs_fr3
2626 find ./${PYSRC} -name ' *.pyi' -print | xargs sed -i ' 1s/^/# ATTENTION: auto generated from C++ code, use `make stubgen` to update!\n/'
2727 find ./${PYSRC} -not -path " ./${PYSRC} /_core/*" -name ' *.pyi' -delete
2828 find ./${PYSRC} /_core -name ' *.pyi' -print | xargs sed -i ' s/tuple\[typing\.Literal\[\([0-9]\+\)\], typing\.Literal\[1\]\]/tuple\[typing\.Literal[\1]\]/g'
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ clangcompile:
2222
2323# Auto generation of CPP binding stub files
2424stubgen :
25- pybind11-stubgen -o src --numpy-array-use-type-var rcs_panda
25+ pybind11-stubgen -o src --numpy-array-use-type-var --sort-by topological rcs_panda
2626 find ./${PYSRC} -name ' *.pyi' -print | xargs sed -i ' 1s/^/# ATTENTION: auto generated from C++ code, use `make stubgen` to update!\n/'
2727 find ./${PYSRC} -not -path " ./${PYSRC} /_core/*" -name ' *.pyi' -delete
2828 find ./${PYSRC} /_core -name ' *.pyi' -print | xargs sed -i ' s/tuple\[typing\.Literal\[\([0-9]\+\)\], typing\.Literal\[1\]\]/tuple\[typing\.Literal[\1]\]/g'
You can’t perform that action at this time.
0 commit comments