We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0350d37 commit 9b50c10Copy full SHA for 9b50c10
bin/api.sh
@@ -7,5 +7,5 @@ uv run stubgen --include-private -o api tests/*.py
7
find api -name '*.pyi' | while read pyi
8
do
9
mv "$pyi" "$pyi.original"
10
- sed '/^\(from\|import\) /d' "$pyi.original" > "$pyi"
+ sed -e '/^from /d' -e '/^import /d' "$pyi.original" > "$pyi"
11
done
0 commit comments