Skip to content

Commit 0b3d2a0

Browse files
committed
Update typeshed in makefile
1 parent 7a7fd92 commit 0b3d2a0

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ SHELL := bash
44
MAKEFLAGS += --no-builtin-rules \
55
--warn-undefined-variables
66

7-
.PHONY: dist pytest test
7+
.PHONY: dist pytest test typeshed
88

99
dist:
1010
if ! python3 -m pip freeze | grep -q build; then python3 -m pip install --upgrade build; fi
@@ -16,7 +16,8 @@ install_dev:
1616

1717
typeshed:
1818
if ! command -v stubgen &>/dev/null; then python3 -m pip install --upgrade mypy; fi
19-
stubgen --output=typeshed/pyi --search-path=src src/inject
19+
stubgen --output=src/inject --search-path=src src/inject
20+
mv -f src/inject/inject.pyi src/inject/__init__.pyi
2021

2122
upload:
2223
if ! python3 -m pip freeze | grep -q twine; then python3 -m pip install --upgrade twine; fi

src/inject/__init__.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from _typeshed import Incomplete
1+
from _typeshed import Incomplete as Incomplete
22
from typing import Any, Awaitable, Callable, Hashable, Optional, Type, TypeVar, Union, overload
33

44
logger: Incomplete

0 commit comments

Comments
 (0)